Jump to content
Xtreme .Net Talk

Data Grid Formatting


Recommended Posts

Guest bobba buoy
Posted
I am working with the DataGrid in .Net and I don't see how to format it at design time-centering field text, etc. It was easily done in vb6 with the DBGrid. Can I not do that in .Nets DataGrid? I rightclick on the grid but nothing comes up.
  • *Experts*
Posted

The DataGrid has all kinds of neat formatting options. In the

properties window of the grid, click the ellipsis next to TableStyles.

Here you can change colors and fonts galore. You can also click

Auto Format at the bottom of the Properties window to set the

colors and fonts to predefined sets.

 

I don't see anything about text alignment, though.

"Being grown up isn't half as fun as growing up

These are the best days of our lives"

-The Ataris, In This Diary

Guest bobba buoy
Posted
Thanks, Bucky! I saw/used the AutoFormat but was not aware of the ellipsis/tablestyles. I'll look into it!!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...