Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to hide a column from datagrid.

Reply
Thread Tools

How to hide a column from datagrid.

 
 
=?Utf-8?B?c2l2YXJhbWFuLlM=?=
Guest
Posts: n/a
 
      10-16-2004
Hi friends,

How to hide a column in datagrid.

regards,
Sivaraman.S
 
Reply With Quote
 
 
 
 
=?Utf-8?B?c3Jpbmk=?=
Guest
Posts: n/a
 
      10-16-2004
Hi sivaraman,
You can set visible = False
HTH
srini

"sivaraman.S" wrote:

> Hi friends,
>
> How to hide a column in datagrid.
>
> regards,
> Sivaraman.S

 
Reply With Quote
 
 
 
 
Shiva
Guest
Posts: n/a
 
      10-16-2004
// C#
DataGrid.Columns[<col idx to hide>].Visible = false;

// Visual Basic .NET
DataGrid.Columns(<col idx to hide>).Visible = False

"sivaraman.S" <> wrote in message
news:08150AD0-93EF-4654-844A-...
Hi friends,

How to hide a column in datagrid.

regards,
Sivaraman.S


 
Reply With Quote
 
Eliyahu Goldin
Guest
Posts: n/a
 
      10-17-2004
If you need the column value on the client, set display:none on css.

Eliyahu

"sivaraman.S" <> wrote in message
news:08150AD0-93EF-4654-844A-...
> Hi friends,
>
> How to hide a column in datagrid.
>
> regards,
> Sivaraman.S



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to hide a GridView column when the column's Visible property does not support databinding? Keithb ASP .Net 2 10-27-2006 05:02 AM
[HIDE LAN] Hide a part of hosts into the LAN at VPN users? Paolo Bresi Cisco 1 04-04-2005 02:41 PM
Can't hide column in datagrid enak ASP .Net 1 10-31-2003 02:50 PM
How to hide a column in datagrid with AutoGenerateCol=true Thanh Nu ASP .Net 2 10-30-2003 03:12 PM
Trying to hide a datatable column from my datagrid... please help jonnylbluejeans ASP .Net 4 07-24-2003 09:52 PM



Advertisments