Solved

GridView update where column.visible = false

Posted on 2008-10-03
2
350 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

810 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