Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I know that I can resize the columns of a datagridview at runtime so they fit nicely. But how do you get the external frame of the grid itself to close up and fit against the grid that gets generated?

I'm not sure if I am explaining this very well. If you are in the form designer you can drag the edges of the grid control stub to make it bigger or smaller, but when you run it and get the data for the grid if you have a few records in there you see a gap between the frame and the actual data. I could make the background the same color as my form but it's still eating real estate on the screen.

 

I'm sure its some simple setting i'm missing.

Wanna-Be C# Superstar

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...