//DataTable Object DataTable dt = new DataTable(); //Find textbox control TextBox txtId = (TextBox)e.Row.FindControl("txtId"); //Lets say u want the data from the first row. U can use loop here DataRow dr = dt.Rows[0]; txtId.Text = Convert.ToString(dr["ColumnName"]);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)