Is there a way to have fixed Headers with autogenerate columns? I am against creating the headers manually since we will be using the same gridview for different information.
Also, is there a way to align a header/row differently from the rest? Lets say I always want all the rows and header to align center except for the row “name”. Is it possible to do an if statement for that? Or maybe there is an easier way?
I am always open to any ideas of using a different graph also. So if anyone has any, that would be great suggestions.
Thanks!
Example:
Below is a link about aligning:
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.horizontalalign.aspx
Below is a link about different column headers size/style:
http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.columnheadersdefaultcellstyle.aspx