gridview
sir,,, i am working on a project regarding online attendance management for my college..... i am facing a problem.... the type of gridiew that i want is it should have the heading as the date which should be connected with the system date.... as the day goes by that is at midmight when date changes the gridview should have the current date now... will you help me out for this... looking for your earliest reply..
Sanjay ChauhanPosted Aug 26, 2009, 11:52 PM
Set the headertext in code like that before the databind
GridView1.Columns[0].HeaderText = DateTime.Now.ToString();
GridView1.DataSource = dataTable;
GridView1.DataBind();
banwas nayakPosted Sep 30, 2009, 11:16 AM
abhishek trivediPosted Sep 30, 2009, 9:07 AM
dont be too smart.
i dont like that
Sanjay ChauhanPosted Aug 30, 2009, 11:12 PM
this code snippet is for binding the gridview from code.
Here dataTable is the records which fetch from the database.
banwas nayakPosted Aug 28, 2009, 10:52 PM