How to use a checkbox in a datagrid?
The steps to be done are as follows:-
1) In the ASPX page you have to add Itemtemplate tag in datagrid.
2) If you view at the Itemtemplate we have the "OnCheckChanged" event. This "OnCheckChanged" event has "Check_Clicked" subroutine is actually in the behind code. Note this process which is in behind code should either be
"Protected" or "public"
The subroutine which defines the method are as shown below:
Protected Sub Check_Clicked(ByVal sender As Object, ByVal e As EventArgs)
' do something
End Sub