Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
如果只是加1,那么看看:
http://www.foxtable.net/help/topics/0107.htm
那就增加一个编号列,整数型,在DataRowAdding事件设置代码:
if e.DataTable.DataRows.Count = 0 then
e.DataRow("编号") = 1
Else
e.dataRow("编号") = e.DataTable.DataRows(e.DataTable.DataRows.Count -1)("编号") + 1
end if