Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to get the value of textbox which is in gridview.......here textbox is inner control........
i am doing ....

C#
GridViewRow row = (GridViewRow)GridView1.Rows[e.RowIndex];
 TextBox txt = (TextBox)row.FindControl("txturl");
but txt does not get the value of txt.......
plz help....
thnx
Posted
Updated 25-Sep-11 18:55pm
v2
Comments
Pravin Patil, Mumbai 26-Sep-11 1:07am    
You are doing it correctly... Can you post your aspx code here just of Gridview, that would give us more idea.....

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