will create table and bind in gridview, I want to add a textbox in each column how help me with code
protected void Page_Load(object sender, EventArgs e)
{
string custname = (string)(Session["custname"]).ToString();
string custphno = (string)(Session["phoneno"]).ToString();
string childcont = (string)(Session["noofchild"]).ToString();
int childcount=Convert.ToInt32(childcont);
DataTable dt = new DataTable();
dt.Columns.Add("S.No",typeof(int));
dt.Columns.Add("Child name",typeof(string));
dt.Columns.Add("Child Age",typeof(string));
dt.Columns.Add("Card_ID",typeof(string));
for(int i=1;i<=childcount;i++)
{
dt.Rows.Add(i);
}
GridView1.DataSource = dt;
GridView1.DataBind();
}
Help me with solution