Data grid view question with unbound check box column
-
Hello, I am not sure how to tackel this, what I have is a data grid view with two columns 1. an unbound check box column and 2. a bound data column. What I want to do is for each check box that is check i want to get the value of the bound column in that same row. what i was thinking is some thing like this: foreach (DataGridViewRow row in datagridview) { if(datagridview.Columns[0] (here is where i am not sure how to see if the check box is checked) { } } any help would be great... Thanks, J
-
Hello, I am not sure how to tackel this, what I have is a data grid view with two columns 1. an unbound check box column and 2. a bound data column. What I want to do is for each check box that is check i want to get the value of the bound column in that same row. what i was thinking is some thing like this: foreach (DataGridViewRow row in datagridview) { if(datagridview.Columns[0] (here is where i am not sure how to see if the check box is checked) { } } any help would be great... Thanks, J
Value
something likeif (dataGridView1[0, 0].Value = 0)
{
}1 for true, 0 for false hope this will help
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L %^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2 W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN% Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y -------------------------------------------------------- 128 bit encrypted signature, crack if you can
-
Value
something likeif (dataGridView1[0, 0].Value = 0)
{
}1 for true, 0 for false hope this will help
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L %^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2 W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN% Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y -------------------------------------------------------- 128 bit encrypted signature, crack if you can
-
glad to know :)
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L %^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2 W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN% Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y -------------------------------------------------------- 128 bit encrypted signature, crack if you can