Wrox Programmer Forums
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 22nd, 2007, 05:01 AM
Registered User
Join Date: Sep 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default unable to hide a column

I am developing an webapplication in asp.net
i used 1 datagrid with 1 bound column "select". due to this i am having two column with same name but 1 is with hyperlink to select and another is from datasource.I want to hide dataset column but i am unable to do that.How to do it?Pls suggest.
Old September 22nd, 2007, 07:36 AM
Wrox Author
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

Are you trying to do this dynamically based on some condition?

================================================== =========
Read this if you want to know how to get a correct reply for your question:
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET

Professional IIS 7 and ASP.NET Integrated Programming

================================================== =========
Old September 25th, 2007, 08:48 AM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

Do you have AutoGenerateColumns set to false? That force the datagrid to only show columns you have explicitly defined in the <columns> element.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Export Gridview to Excel and Hide column PDALUX ASP.NET 2.0 Basics 2 March 1st, 2012 02:16 AM
GridView - Hide column and retrieve value snufse ASP.NET 2.0 Basics 1 July 24th, 2008 03:22 PM
hide certain column in a table lscjtw XSLT 2 August 2nd, 2007 01:26 PM
hide column in rnage where values found greg85374 Excel VBA 2 February 13th, 2005 10:08 AM
how do i hide a column from grid alyeng2000 ASP.NET 1.x and 2.0 Application Design 3 December 29th, 2003 10:38 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.