i have a grid view and would like to change some things around with it like the align of the text in the second column. My Code
gridview.datasoure = mydataset
gridview.databind
gridview.column(1).ItemStyle.HorizontalAlign = HorizontalAlign.Left
I use 1 becasue 0 is the column with my likebutton.
I get an error saying 1 is out of the index of my dataview. How can I align this column. Do I have to bind my dataset to the dataview in another way so I can have more contorl over the columns?
2007-01-16
09:17:43
·
1 answers
·
asked by
csdraska
1
in
Computers & Internet
➔ Programming & Design