DataGridView in VB.NET?
10 pts.
0
Q:
DataGridView in VB.NET?
I'm quite new to VB.NET and I found the DataGridView component very useful. However, there are 2 things that I don't like, and would like to change. So,

1) Is there any way to force the selection onto the entire row instead of just that box (the DataGrid is in ReadOnly mode)?

2) I realy hate that first column to the left. Is there any way to make it disappear so that it looks like a regular Windows Explorer/My Computer window?
ASKED: Mar 9 2008  3:12 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
335 pts.
0
A:
 RATE THIS ANSWER
+1
Click to Vote:
  •   1
  •  0
  • AddThis Social Bookmark Button
For the selection, you can use the datagridview property called SelectionMode.
Here's more details about that on MSDN:
http://msdn2.microsoft.com/en-us/library/system.windows.forms.datagridview.selectionmode(VS.85).aspx

For the left column to disappear, you need to set the datagridview property RowHeadersVisible to false.

Hope this helps!

Joelle
Last Answered: Mar 10 2008  7:40 PM GMT by JDantin   335 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0