Access Selected GridViewRow in GridView 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...