Re: Hidden columns in execution time

From: Wallace Santos (wsdamiao_at_hotmail.com)
Date: 05/26/04


Date: Wed, 26 May 2004 14:55:36 -0300

thank's Paul, but this did not decide my problem and i already had attemped
to apply this solution.

I have a column with hyperlink where it must receive the page from
destination and field ID of the data base but does not have to show column
ID

As this pagina makes search for many different pages the connection with the
DB was not carried through in development time

If I to use an XML file, it would be more easy?

Thank's again

"Paul" <no.paul.gibson.spam@i-stat.com> escreveu na mensagem
news:ufpkKhzQEHA.1312@TK2MSFTNGP12.phx.gbl...
> I'm going to assume that you have a datagrid with only 2 columns, the 1st
> one you want displayed, they 2nd one you want hidden.
>
> If you are letting the datagrid automatically generate the columns at
> runtime, you would put something like this in your Page_Load handler:
>
> MyDataGrid.Columns[1].Visible = false; // rows/columns index
starting
> at 0.
>
> If you have set AutoGenerateColumns to false for your datagrid, just go to
> the datagrid's Collections property, open up the dialog, go to the
"Columns"
> page and uncheck "Visible" for the column you want to hide.
>
> HTH.
>
> Paul
>
> "Wallace Santos" <wsdamiao@hotmail.com> wrote in message
> news:umpARJzQEHA.3660@TK2MSFTNGP10.phx.gbl...
> > Hi,
> >
> > I have one datagrid where the columns are mounted in execution time and
> use
> > a column template where exists a link. One necessary to make that the
> second
> > column of grid that is mounted in execution time become hidden.
> >
> > Someone help me?
> >
> > And excuse my english errs
> >
> >
>
>


Quantcast