Categories ASP.NET C#Access Selected GridViewRow in GridView Post author By Melvin Post date December 13, 2007 GridViewRow selectedRow = (GridViewRow)(((Control)e.CommandSource).NamingContainer); Related posts:Gridview – Getting the RowIndex The following syntax sets the rowindex equal to the specific...How to access the EmptyDataTemplate controls from OnRowCommand in GridView For example – inserting value in the empty gridview: protected... ← Gridview – Getting the RowIndex → PHP – Turning Off Error Reporting