Subhash Sharma

Subhash Sharma
Subhash Sharma

This is Subhash Sharma(Software Engineer) Blog

Welcome to this blog and find every solution.............

Search This Blog

Software Engineer(Subhash Sharma)

Software Engineer(Subhash Sharma)
Software Engineer
Showing posts with label Find the control from gridview. Show all posts
Showing posts with label Find the control from gridview. Show all posts

Friday, March 12, 2010

Find the control from gridview

TextBox txtName = (TextBox)GridView1.Rows[e.RowIndex].FindControl("txtName");
TextBox txtCity = (TextBox)GridView1.Rows[e.RowIndex].FindControl("txtCity");
Label lbnlid = (Label)GridView1.Rows[e.RowIndex].FindControl("lblId");
Label lbnlid = (Label)GridView1.Rows[e.RowIndex].FindControl("lblId");
Posted by DeepakSinghRawat at 9:15 PM
Labels: Label lbnlid = (Label)GridView1.Rows[e.RowIndex].FindControl("lblId");