Hello Everyone..!!
I have a data grid in which first two columns are item templates containing buttons.
I have a row_command event where i check the command name property of
particular button.
i want to check which row button is checked
i have used the following code.
but it is not working.
if (e.CommandName=="rate")
{
int index = Convert.ToInt32(e.CommandArgument);
GridViewRow gr = grdOTIF.Rows[index];
}
Kindly help me with the same.