0
Hi
Set the headertext in code like that before the databind
GridView1.Columns[0].HeaderText = DateTime.Now.ToString();
GridView1.DataSource = dataTable;
GridView1.DataBind();
Accepted 0
u just mind ur own business.. i am having a problem so i m taking help nt ur comments...
0
cant you see that he has accepted one answer so why you want to know the details of that like what is the datatable and all ?
dont be too smart.
i dont like that
0
Hi,
this code snippet is for binding the gridview from code.
Here dataTable is the records which fetch from the database.
0
what is datatable in your coding??? i couldn't get that.. plz reply soon.. also tell me if something else is also required to do....