清空所有数据,保留空行:
For Each r As Row In e.Table.Rows For Each c As Col In e.Table.Cols r(c.Name) = Nothing NextNext
删除符合条件的行:e.Table.DataTable.DeleteFor("姓名 = 'dd'")
删除所有行:e.Table.DataTable.DataRows.Clear()