|
-
Apr 20th, 2007, 08:07 AM
#1
Thread Starter
Frenzied Member
[2005] simple strong typed datatable question
to start off i have everything working the way i want it. the question i have is is there any way that i can set the HeaderText property of the column through the datatable that would be bound to either a DataGridView (window app) or a GridView (web app). I get everything else to work the way i want and i though by setting the data column's caption value it would in turn be used for the header text. however, this is not the case, unless i'm missing something. so in short is there anyway to set the header text within the code so that when i bind a column to either type of View it will set the header text automatically so i don't have to manually change it? thanx in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|