生成表以后,开启全局表事件
tbl.DataSource = dt1tbl.DataTable.GlobalHandler.DataColChanged = True
然后去全局表事件,写你的代码
http://www.foxtable.com/webhelp/scr/0671.htm