1、DataRowAdded事件
e.DataRow("_Sortkey") = e.DataTable.SqlCompute("max([_Sortkey])")e.DataRow.Save
2、上传具体实例测试