hiding columns in datagrid not working

Discussion in 'ASP .Net' started by Guest, Oct 8, 2004.

  1. Guest

    Guest Guest

    I queried a series of fields from a database and passed into a datatable.
    Then bound this to a datagrid. I need to hide 2 of the colums. This doesnt
    seem to be working the standard way. (with datagrid columns hide). When I
    query for number of columns in datagrid I always get 0 no matter what, even
    after showing all the columns. I must dynamically build the table after page
    post (I pass in parameters to define the table I'll be querying) so I dont
    know the columns up front. Any ideas?
    Guest, Oct 8, 2004
    1. Advertisements

  2. Guest

    Guest Guest

    Guest, Oct 8, 2004
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.