Hi,
First of all let me tell you one thing that your can directly access your gridview by it's id. No matters when it is in tab panel. All the controls of tab panel you can access directly by calling it using it's id like
GridView1
.
Now the problem is where is your textbox inside gridview.
If your textbox is in item template then you can access it by using this:
foreach(Control s in tabContainer1.Controls)
{
if (s is GridView) {
foreach (GridViewRow dr in gridview.Rows)
{
TextBox txt=(TextBox)dr.FindControl("YourTextBoxID");
}
}
}
Refer
this[
^] for more information.
--Amit