Click here to Skip to main content
14,926,168 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to find out grid textbox value on button click event while gridview is dynamically created on other event

1 solution

using 'FindControl()' method u can get the ref of control

TextBox tb=GridView1.Rows[0].Cells[0].FindControl("contro_id");

string tbvalue=tb.Text;

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900