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

Visual Basic

 
GeneralRe: Need Help on Custom Action Installer Pin
Saseendran Kombath23-Oct-08 4:15
Saseendran Kombath23-Oct-08 4:15 
QuestionHow do remove unwanted coulmns from a data grid? Pin
Arun Philip R21-Oct-08 8:09
Arun Philip R21-Oct-08 8:09 
AnswerRe: How do remove unwanted coulmns from a data grid? Pin
Wendelius21-Oct-08 8:28
mentorWendelius21-Oct-08 8:28 
QuestionRe: How do remove unwanted coulmns from a data grid? Pin
Arun Philip R21-Oct-08 8:41
Arun Philip R21-Oct-08 8:41 
AnswerRe: How do remove unwanted coulmns from a data grid? Pin
Wendelius21-Oct-08 8:50
mentorWendelius21-Oct-08 8:50 
GeneralRe: How do remove unwanted coulmns from a data grid? Pin
Arun Philip R22-Oct-08 3:22
Arun Philip R22-Oct-08 3:22 
AnswerRe: How do remove unwanted coulmns from a data grid? Pin
Arun Philip R22-Oct-08 4:00
Arun Philip R22-Oct-08 4:00 
GeneralRe: How do remove unwanted coulmns from a data grid? Pin
Wendelius22-Oct-08 7:36
mentorWendelius22-Oct-08 7:36 
Okay,

First thing: You are obviously using DataGridView, not DataGrid as your original post implied. For this reason my earlier replies are useless.

Second: In DataView, include only those columns you need to show, nothing else. This automatically solves the displaying problem for DataGridView

If you must have unnecessary columns in the DataGridView for some reason (there should be none), but you want to hide them, you can refer to those columns with the column name in DataView. For example: Me.dgvExcelColumn.Columns("NotNeededColumnName").Visible = False

The need to optimize rises from a bad design.

My articles[^]

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 
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 

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.