TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Cassie Mod
NA
488
70.4k
hide several gridview colums at once
Nov 1 2016 4:52 AM
HI,
Ive got ( 10 ) gridview colums i want to hide.
Now i do it like this:
customersDataGridView.Columns[
"CustomerNumber"
].Visible =
false
;
customersDataGridView.Columns[
"FirstName"
].Visible =
false
;
customersDataGridView.Columns["lastName"].Visible =
false
;
But is there a faster way i could do this with less code ?
Reply
Answers (
5
)
How show more than one row in Crystal Report using c#
What is the difference between ref and out keywords?