General information
Category:
Coding, syntax and commands
Title:
Special ,DataGridViewCheckBoxColumn only one value can True?
Hi all,
I use vb.net , dataset and dataGridView( some of rows, but only two DataGridViewCheckBoxColumn ).I find a special problem,
For example , i hard code add new datarow to dataset.datatable (not use SqlDataAdapter to Fill dataset.datatable method) , DataGridView.DataSource equal to dataset. The result i hard code One Column all true and One Column all false
After i click the row one Column two dataGridViewCheckBoxColumn , click the box From empty to tick, it ok can tick.
Next i click the next row two Column two dataGridViewCheckBoxColumn , click the box From empty to tick, it also ok can tick, but
the row one Column two dataGridViewCheckBoxColumn tick change to empty .
In this time, i set break point to see, i find two row datagridview.rows.column(1).value is false , although tick but value is false.
But row one Column no this problem.
Anyone try this problem, Can you give some idea to me how can i do. Thank you ~~~
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only