Hi karanGupta,
If (row.RowState = DataControlRowState.Edit && e.Row.RowType == DataControlRowType.DataRow)
{
TextBox obj = new TextBox();
obj = e.row.FindControl("textbox1"), TextBox);
if(obj!=null)
{
// textbox was found, i.e., is shown
//use txtbox.text
}
}
in row databound event