How Do I Make a Column In My Bound DataGrid Invisible?

  • Thread starter Thread starter Ben Pursley
  • Start date Start date
it is ;-)

<asp:BoundColumn Visible="False" DataField="IDTest"
HeaderText="ID"></asp:BoundColumn>
<asp:BoundColumn DataField="Name" HeaderText="Name"></asp:BoundColumn>

the first coloum will be invisible while the second will be shown.
 
Daniel,

Can you do the same thing on a Windows Form with a
DataSet? Is the syntax similiar enough? I just posted a
few questions that havn't shown up yet, one of them dealt
with this type of thing.

thanks a ton
 

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