hi!
i am display checkboxes in my datagrid. (user select the checkbox and click delete button that record has deleted)
i am write code for testing like
dim cb as checkbox = directcast(datagrid1.FindControl("chkSelect"),CheckBox)
cb = new checkbox()
if cb.checked = true then
msgbox("Checked")
Else
msgbox("un Checked")
End if
my problem is when i checked the checkbox it display Un checked in msgbox. please correct my code. and give any example of giving this type of checkboxes and delete buttons in datagrid.
Thanks
Find checkbox control in datagrid?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Sam HobbsRank #107 · 20.5K reputationPosted Apr 3, 2010, 10:47 AM EDT