错误的写法:
DBGrid1CellClick(DBGrid1.Columns[ DBGrid1.DataSource.DataSet.RecNo ]); //执行点击事件
正确的写法:
DBGrid1CellClick(DBGrid1.Columns[0]); //执行点击事件