Hide boundcolumn in grid?

  • Thread starter Thread starter Kenneth
  • Start date Start date
K

Kenneth

Hi,

In a .aspx I have a grid with 8 boundcolumns. In code
behind I have two methods and the result from the second
method ONLY needs 6 boundcolumns of the 8.

Can I make 2 of the boundcolumns invisible?

Any suggestions?

TIA

/Kenneth
 
Hmm.... maybe something like this would work
dgSearchResults.Columns[2].Visible = false;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top