Hi all,
how to get values from checkbox in datagridview and transfer into arraylist? i'm using datagridviewcheckbox column..new checkbox will be added into datagridview when it populate from sql query. the example table is shown as below.
CardNo|Name|Door Access|checkbox1|Lift Access|checkbox2
02233 |Lyn |Testing | checked | - |unchecked
01999 |Matt| - |unchecked|FreeAcc |checked
so, when i checked checkbox 1 and checkbox2, the card number and value of checkbox will be insert into an arraylist. the arraylist should be like this:
arrList(0) = 02233|1|0
arrList(1) = 01999|0|1
please help me? it seem go complicated when i'm using for loop.
thank u..