Dear all,
I read my data through sqldatareader and then i use dataset to convert the data and bind it to gridview manually. There is one field in my data set is of decimal type. I found out that when it was displayed in the gridview, all of the columns are set to left hand side. Is it a way which I can move the decimal field to right hand side? FYI, there isn't any data source control involve there.
Thanks
Yes you need to change the GridView column for you decimal to be aligned to the right side. You can do this in the designer by clicking the arrow in the upper right hand side of the control.Hi, once I change it to right aligned, all of the other fields will become right aligned as well. Is it a way which I can only set that particular decimal field to right aligned and the rest of the text field remain left aligned?
Thanks
Problem solved

Great glad I could help, if I even helped at all.

0 comments:
Post a Comment