Hi
I am using Net framework 2 - I want to programatically (RUN TIME) change the headertext of my datagrid (ASP.NET 2.0),
any idea pl help
Printable View
Hi
I am using Net framework 2 - I want to programatically (RUN TIME) change the headertext of my datagrid (ASP.NET 2.0),
any idea pl help
You can do so in the following way:
gv_AddFiles.DataSource = dt;
gv_AddFiles.Columns[0].HeaderText = "Remaining files";
gv_AddFiles.DataBind();
Here gv_AddFiles is the id of a datagrid and dt is the datatable to which the datagrid is going to be bound to.