Get Selected Row data in RowCommand event of GridView


                    GridViewRow row = (GridViewRow)(((LinkButton)e.CommandSource).NamingContainer);
                
                    Label lblFilePath = (Label)row.FindControl("lblFilePath");

                    string str = lblFilePath .Text;

0 comments:

Post a Comment