This statement is giving an error of " Input string was not in a correct format "
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "Insert" && Page.IsValid)
{
int index = Convert.ToInt32(e.CommandArgument);
Response.Write(index);
}
}
...
Go to the complete details ...