I have a button in one of the column of my GridView called Remove and I am placing a LinkButton inside TemplateColumn for this.
When I am trying to get the clicked row for that GridView in OnRowCommand event as
GridViewRow row = GridViewSelected.Rows[int.Parse(e.CommandArgument.ToString())];
I am getting error as e.CommandArgument value is coming as empty ("").
Any help?
________________________
Posted on behalf of Poster
Best regards,
Webmaster
http://www.dotnetfunda.com