Information générale
Catégorie:
Code, syntaxe and commandes
Titre:
Special ,DataGridViewCheckBoxColumn only one value can True?
Versions des environnements
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 ~~~
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement