0
我有一個SQL Server數據庫,其中包含一個bit
列,每當一個複選框被點擊我想用當前值更新位列。如何更新dataGridView中的複選框值?
在我的C#程序創建活動時,點擊的dataGridView更新數據
TXT_COURSE_ID.Text = dataGridView1.CurrentRow.Cells[0].Value.ToString();
TXT_COURSE_name.Text = dataGridView1.CurrentRow.Cells[1].Value.ToString();
TXT_COURSE_TERM.Text = dataGridView1.CurrentRow.Cells[2].Value.ToString();
// HERE IS THE PROBLEM:
CHECK_LAB.CheckState = dataGridView1.CurrentRow.Cells[3].Value.ToString();
THANK YOU SOOOOO MUCH ..成功更改了:) – user3364343 2014-09-29 11:18:07