Here is the screenshot of the datagridView, By using c# , how can I make disappear the grey unnecessary zone in my datagridview?
Asked
Active
Viewed 79 times
-1

Boladji Vinou
- 25
- 6
-
Make your datagridview fittowindow. – Just code Jun 06 '17 at 16:57
-
Which grey zone? you need to be more specific. Please add a circle to the image and update it. – Scott Chamberlain Jun 06 '17 at 16:57
-
is this really asp.net? seems like a winforms component – Peter Bons Jun 06 '17 at 16:58
-
5Possible duplicate of [DatagridView: Remove unused space?](https://stackoverflow.com/questions/2162756/datagridview-remove-unused-space) – fluffy Jun 06 '17 at 17:02
-
my bad, it's a winform component – Boladji Vinou Jun 06 '17 at 17:02
2 Answers
2
Make reference to this post.
It seems though that this person had the exact same problem as you in some aspect and seemingly got rid of it by means of the top rated answer.
Hope it helps.

fluffy
- 223
- 1
- 14
-
1If you find a question is a duplicate don't answer it, mark it as a duplicate instead. – Scott Chamberlain Jun 06 '17 at 16:58
-
On the plus side, this question has a working screenshot. The other one does not (broken link). – Knowledge Cube Jun 06 '17 at 17:49