I have a DevExpress GridView (gridview1) with dynamic checkboxes for each row pulled from our database. The data is pulling information correctly (I know this because this is an additional add-on to a prior working form). I have tried DevExpress's website with no good answer. I'm using an old version of DevExpress (10.1.6). When the checkbox (CheckEdit is what it's called in DevExpress's Designer), I want to be able to select that row so I can use that information for another table.
CODE:
foreach (CheckBox c in gridView1)
{
if (((CheckBox)c).Checked == true)
{
InsertData(ConnString);
}
}
Things I've tried: How to loop thru a checkboxlist and to find what's checked and not checked http://ift.tt/1OXhF7w http://ift.tt/1E4Uf5D http://ift.tt/1OXhF7y
Aucun commentaire:
Enregistrer un commentaire