Thanks, Sanjay
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e) { if (e.CommandName.Equals("Preview")) { GridViewRow valu = (GridViewRow)((LinkButton)e.CommandSource).NamingContainer; int RowIndex = valu.RowIndex; Label value = (Label)GridView1.Rows[RowIndex].FindControl("labelid"); string imgFront = value.Text; } }
Thanks & Regards, Software Engineer, Pradeep Kumar
Blessy Baby Digitalmesh Softech pvt Ltd https://blessybaby.wordpress.com/
gowthaman8870226416
Login to post response