Hi
I am Binding teachers to grid and providing status like present,absent etc..
I am Placing a Save button In footer of grid view And writing the code in Row command to save the status .While i am catching id of the teacher .I am getting error as "input string not in a correct format: The same code works when i place save button inside grid view
try
{
if (e.CommandName == "Save")
{
//int Id=Int32.Parse((string)e.CommandArgument);
int Id= int.Parse(e.CommandArgument.ToString())
RadioButtonList rdolist = ((RadioButtonList)gvteacher.Rows[0].Cells[0].FindControl("rdlstatus"));
string st = rdolist.SelectedValue.ToString();
}
How to catch id of the id
I am unable to understand my mistake
vijaya