Solved

GridView update where column.visible = false

Posted on 2008-10-03
2
349 Views
Last Modified: 2013-11-26
How to get a column with visible = false be able to update it the a database.
0
Comment
Question by:keithwilson1
2 Comments
 
LVL 4

Accepted Solution

by:
JunnickYso earned 500 total points
ID: 22635174
So we cannot just easily set the column visibility that easy before we bind it. We all knew it right?
the option is to do it manually like:


e.Row.Cells(0).Visible = False
e.Row.Cells(1).Visible = False

where e is the row and you can do this on run-time...
0
 

Author Closing Comment

by:keithwilson1
ID: 31502795
Great!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Log4Net custom Appender not being fired. 5 74
Closing all open child forms. 4 38
vb.net - How to check if current user is an administrator? 6 34
Run time Error 4 34
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now