Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I want to hide a column of a grid view in asp.net using VB.NET and nevertheless to access its values.

What I have tried:

VB
GridView1.Columns(0).Visible = False
Posted
Updated 29-Jan-18 0:23am
v2
Comments
Leo Chapiro 29-Jan-18 5:40am    
Did your solution not work properly, what is the issue with it? Marked as unclear...
Richard Deeming 29-Jan-18 16:36pm    
REPOST
You have already posted this in the ASP.NET forum:
https://www.codeproject.com/Messages/5481864/hide-a-column-in-gridview.aspx[^]
Laxmidhar tatwa technologies 30-Jan-18 9:24am    
Dynamic columon shout be hidden type .Not visible false

1 solution

Please check the below example.Write VB equivalent of c# code written in this article.

How to get Hidden Column Value in GridView[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900