changing the color of an entire column in a datagrid generated at run time

infydiv

Member
Joined
May 25, 2009
Messages
9
Programming Experience
Beginner
Hi All,

I want to change the color of an entire column in a run time generated data grid. Column names are also not fixed.

all the column are based on the date ranges for single date 1 have 3 columns . For example if user selects date as 02/28/2009 to 03/01/2009 then data grid column will be:

date1-a date1-b date1-c date2-a date2-b date2-c
1 12 13 11 4 7
3 23 6 7 8 9

A, B ,C are repeating for a selected date ranges.and date1=02/18/2009 and dtae2=03/01/2009 and so on...

i want to change the color of an column whereever i have column header as a.

Here in date1-a and date2-a


Can any one help me please. i'm working in dot net frame work 1.1 and using vb.net with asp.


Regards,
Divya
 
Last edited:
Back
Top