Hi
may be your problem is grid textbox assigning your datebase value thats right
protected void gridview1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
Textbox TextBox1= ((Textbox)e.Row.FindControl("textboxID"));
TextBox1.Text=ds.Tables(0).Rows(0).Item("columnname").value
}
}
pls check that one