I have a GridView in my page :
//this will give you control over the textbox object var field = (TextBox)(GridView1.Rows[e.RowIndex].FindControl("your_control_ID")); //and here you can access the text string temp = field.Text;