![]() |
Set headertext in datagrid programatically
I create a datagrid using the Web Forms Toolbo
The dataadapter,dataset and databind() code runs in a button eventhandler The headertext is determined by the column names of my SQL select statement there How can I change the headertext programatically in the codebehind? ... I don't want to change the preexisting code if at all possible. |
Re: Set headertext in datagrid programatically
check this article
http://www.c-sharpcorner.com/Code/20...HeaderText.asp "mg" <mg@theworld.com> wrote in message news:6DDB37EC-DA6C-41E5-B2DA-83DDDA54A6F9@microsoft.com... > I create a datagrid using the Web Forms Toolbox > > The dataadapter,dataset and databind() code runs in a button eventhandler > > The headertext is determined by the column names of my SQL select statement there. > > How can I change the headertext programatically in the codebehind? ... I don't want to change the preexisting code if at all possible. |
| All times are GMT. The time now is 10:54 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.