I have a webpage that shows a company's aircraft (what types of Aircraft they have).
I have a datalist, that displays Aircraft Categories.
Inside that, is a datagrid, that displays a checkbox, and an Aircraft Type on each row.
It's all nicely bound, and shows the checkbox checked/not checked when appropriate.
I'd like to respond to the checkbox's OnCheckedChanged event to either add or delete a row in the underlying table as the user checks or unchecks the checkbox.
Here's the sub...
Public Sub chkType_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles chkType.CheckedChanged
But how do I know which row in the datagrid was checked/unchecked?