Grid, Any Suggestions

s-c

Member
Joined
Jun 25, 2007
Messages
10
Programming Experience
1-3
I am fairly new to vb.net and windows programming, and learn primarily by example.

I am trying to create the grid in the image below.



How would I go about doing this

:)
 
Use a DataGridView.

Right click it on your form, Edit Columns.

Click "Add".

Name: colString
Type: DataGridViewTextBoxColumn
Header Text: String

Click "add" again - this time column2

Name colDateTime
Type: DataGridViewTextBoxColumn (there is no date column, I assume they are using text)
Header Text: DateTime

Click "add" again - this time column3

Name colCheck
Type: DataGridViewCheckBoxColumn
Header Text: CheckBox

Click "Close"
Click "OK"

Job done :D
 
That gets it done for the most part. But I still have a question about formatting the datagridview

How do I remove the first column with the arrow, so I can have just the displayed columns
gridam9.png


:)
 
ahh, that's where I was getting confused ;)

Well you would think that as the arrow appears in a "column" that it may be a visible column setting... I use ComponentOne and not the standard grids, all my properties are different! (thats my excuse)
 
Back
Top