Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
5
Reply
hide several gridview colums at once
Cassie Mod
Nov 1 2016 4:52 AM
255
Reply
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 ?
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
5
)
Next Recommended Forum
How show more than one row in Crystal Report using c#
What is the difference between ref and out keywords?