摘要:
DataTabledt;(DataGridView绑定的DataTable)DataGridViewdgView;dt.Columns.Add("check",typeof(bool));dgView.Columns.Clear();dgView.AutoGenerateColumns=false;dgView.DataSource=dt;DataGridViewCheckBoxColumndtCheck=newDataGridViewCheckBoxColumn();//(注意这里是DataGridViewCheckBoxColumn而不是DataGridViewText 阅读全文
posted @ 2011-06-28 08:24
岁月神偷
阅读(896)
评论(0)
推荐(1)

浙公网安备 33010602011771号