سؤال

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?

enter image description here

Thank in advance

هل كانت مفيدة؟

المحلول

set AutoSizeMode to fill for Name column

نصائح أخرى

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top