Click here to Skip to main content
15,905,782 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How do remove unwanted coulmns from a data grid? Pin
Wendelius22-Oct-08 7:36
mentorWendelius22-Oct-08 7:36 
AnswerRe: How do remove unwanted coulmns from a data grid? Pin
Arun Philip R6-Nov-08 6:32
Arun Philip R6-Nov-08 6:32 
GeneralRe: How do remove unwanted coulmns from a data grid? Pin
Wendelius6-Nov-08 7:02
mentorWendelius6-Nov-08 7:02 
AnswerRe: How do remove unwanted coulmns from a data grid? Pin
Anoop Brijmohun22-Oct-08 0:20
Anoop Brijmohun22-Oct-08 0:20 
GeneralRe: How do remove unwanted coulmns from a data grid? Pin
Arun Philip R22-Oct-08 3:28
Arun Philip R22-Oct-08 3:28 
GeneralRe: How do remove unwanted coulmns from a data grid? Pin
Anoop Brijmohun22-Oct-08 3:49
Anoop Brijmohun22-Oct-08 3:49 
AnswerRe: How do remove unwanted coulmns from a data grid? Pin
Arun Philip R22-Oct-08 3:58
Arun Philip R22-Oct-08 3:58 
GeneralRe: How do remove unwanted coulmns from a data grid? Pin
Anoop Brijmohun22-Oct-08 4:31
Anoop Brijmohun22-Oct-08 4:31 
Hi,

i am also using vs2005 and vb.net coding.
i am using a DataGridView and not a DataGrid!!!!


this is what i am doing and it works just fine....

***********************************************

dim dt as new datatable
dim data as new clsdata

dt = data.GetStockCodes()

me.dgView.datasource = dt

me.dgview.columns(0).visible = false ' where '0' = column index

me.dgview.columns(2).visible = false ' where '2' = column index

*************************************************

hope this helps
Anoop Brijmohun
AnswerRe: How do remove unwanted coulmns from a data grid? Pin
Arun Philip R22-Oct-08 4:48
Arun Philip R22-Oct-08 4:48 
GeneralRe: How do remove unwanted coulmns from a data grid? Pin
Anoop Brijmohun22-Oct-08 5:00
Anoop Brijmohun22-Oct-08 5:00 
GeneralRe: How do remove unwanted coulmns from a data grid? Pin
Jon_Boy22-Oct-08 6:29
Jon_Boy22-Oct-08 6:29 
AnswerRe: How do remove unwanted coulmns from a data grid? Pin
Arun Philip R6-Nov-08 6:36
Arun Philip R6-Nov-08 6:36 
AnswerRe: How do remove unwanted coulmns from a data grid? Pin
Dave Kreskowiak22-Oct-08 5:07
mveDave Kreskowiak22-Oct-08 5:07 
GeneralRe: How do remove unwanted coulmns from a data grid? Pin
Arun Philip R22-Oct-08 5:53
Arun Philip R22-Oct-08 5:53 
GeneralRe: How do remove unwanted coulmns from a data grid? Pin
Dave Kreskowiak22-Oct-08 11:00
mveDave Kreskowiak22-Oct-08 11:00 
AnswerRe: How do remove unwanted coulmns from a data grid? Pin
Arun Philip R6-Nov-08 6:38
Arun Philip R6-Nov-08 6:38 
QuestionMDI Parent Picturebox control always stays on top of child forms..... NEED HELP!!!! Pin
Joey Picerno21-Oct-08 5:37
Joey Picerno21-Oct-08 5:37 
AnswerRe: MDI Parent Picturebox control always stays on top of child forms..... NEED HELP!!!! Pin
Dave Kreskowiak21-Oct-08 5:58
mveDave Kreskowiak21-Oct-08 5:58 
GeneralRe: MDI Parent Picturebox control always stays on top of child forms..... NEED HELP!!!! Pin
Joey Picerno22-Oct-08 6:30
Joey Picerno22-Oct-08 6:30 
GeneralRe: MDI Parent Picturebox control always stays on top of child forms..... NEED HELP!!!! Pin
Dave Kreskowiak22-Oct-08 11:08
mveDave Kreskowiak22-Oct-08 11:08 
QuestionDynamic tooltip Pin
cstrader23221-Oct-08 4:53
cstrader23221-Oct-08 4:53 
AnswerRe: Dynamic tooltip Pin
dan!sh 21-Oct-08 5:02
professional dan!sh 21-Oct-08 5:02 
AnswerRe: Dynamic tooltip Pin
cstrader23221-Oct-08 5:15
cstrader23221-Oct-08 5:15 
AnswerRe: Dynamic tooltip Pin
Dave Kreskowiak21-Oct-08 5:50
mveDave Kreskowiak21-Oct-08 5:50 
GeneralRe: Dynamic tooltip Pin
cstrader23221-Oct-08 6:19
cstrader23221-Oct-08 6:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.