Hi

I am trying to optionally hide a column in a gridview, depending on
settings in the web.config.

In the web.config I have this:

<add key="HideKeys" value="True" />

Then in other pages:

string sHideKeys = ConfigurationSettings.AppSettings["HideKeys"];
        if (sHideKeys == "True")
        {

This is where I want to hide the relevant columns. Is this possible,
and if so, how?

Stapes

Reply via email to