set AutoSizeMode
to fill
for Name
column
Formatting a datagridview in vb.net
-
07-07-2023 - |
문제
Hi everyone i just wanted to ask how can i make the appearance of my datagridview better
I just wanted to remove the spaces enclosed in the red lines ,are there any way that I can extend my database to the full sisze of my datagridview?
Thank in advance
해결책
다른 팁
Your question has nothing to do with the database. You can fiddle with the auto-sizing of the columns so that they occupy the full width of the grid. To fill the space at the bottom you would have to change the height of the rows, which would be unusual and is not something that would happen automatically. You could just change the grid background colour to white so it looks less like empty space.
제휴하지 않습니다 StackOverflow