Hide columns in GridView
I want to be able to sometimes hide columns in a GridView based on conditions
(certain client types) but I'm not sure how to do it. We are using asp.net
3.5 and VS2008.
Re: Hide columns in GridView
"DavidC" <firstname.lastname@example.org> wrote in message
> I want to be able to sometimes hide columns in a GridView based on
> (certain client types) but I'm not sure how to do it. We are using
> 3.5 and VS2008.
Note especially this comment:
"Although you can programmatically add column fields to the Columns
collection, it is easier to list the column fields declaratively in the
GridView control and then use the Visible property of each column field to
show or hide each column field."
|All times are GMT. The time now is 06:26 PM.|
SEO by vBSEO ©2010, Crawlability, Inc.