VB 6.0 to VB.NET DataGridView conversions

CGK

Member
Joined
Jul 31, 2007
Messages
7
Programming Experience
Beginner
Hi All!

I encountered a problem in converting a code snippet from VB 6.0 to VB.Net.

code in VB 6.0

Dim Col as Column

Col = DataGridDG.Columns(0)
Col.Width = 75
Col.Caption = "XXX"
Col.DataField = "XXX"


I could not find any Data Type of the kind 'Column' in VB 6.0
How can I code this in VB.NET! Any suggestions/Pointers will be most helpful!

CGK
 
Back
Top