This is probably an easy one, i'm just not seeing it
I have a datagrid which has a ButtonColumn among other columns, which gives the option to Delete the row.
The click event, takes me to the ItemCommand event which gives me the index of the row on which the user clicked on. How do I get the ReportID which is what I will use to delete the row.
So say for example we hv the following:
ReportID Report Desc Delete
10 abcd Del (<---)
20 efgh Del
now if the user clicks on the first Del (with the arrow), the e.Item.ItemIndex = 0, so How do I get the ReportID 10 with that information ?