I have a gridview2 which is inside gridview1. gridview 2 has a textbox which i need to get the value of that text box. Usually I do like this when I need to get the value from a textbox when it's inside a single gridview:
TextBox txb = (TextBox)GridView1.SelectedRow.FindControl("TextBox1");
I want to do something similar but this time getting a value from TextBox1 which is inside gridview2 and gridview2 inside gridview1. Everything is done through TemplateField of course.