cmd.CommandText = "Insert Into {SysArSGprofit} (公司编码,公司名称,年月,编号,编码,数量,金额,毛利) Values('aa','aaa,'" & Sheet(n,0).Value & "','" & bh & "','" & Sheet(n,2).Value & "','" & Sheet(n,5).Value & "','" & Sheet(n,6).Value & "','" & Sheet(n,7).Value & "')" cmd.ExecuteNonQuery()
向外部表插入行,如何使sortkey自动赋值