I have a GridView control on a web page that I bind to a DataSet. I want to right-align the data in the columns that contain numeric data. I would think that this should be as simple as setting a property on a column, but apparently Microsoft wants to keep this a secret, so I am wasting a whole afternoon on it.
Can anyone point me in the right direction? Thanks.
What is weird is that when I trace through the code, after binding to the DataSet, the Columns.Count property on the GridView shows 0. (but yes the data rows DO appear on the page so I know the data are binding).
I am willing to admit that I am the dumb one here. Any help is appreciated. Thanks.