Hide boundcolumn in grid?

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
 
C

Curt_C [MVP]

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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top