Remove datagrid col at runtime?

  • Thread starter Thread starter Chip
  • Start date Start date
C

Chip

I'm missing something. I'm trying to remove a column in a gridlist using the
following syntax:

grdList.Columns.Remove(grdList.Columns(0))

All this does is screw up the formatting in the table. Column is still
there.

Chip
 
Figured it out. It works if you remove the column BEFORE you bind the data.
 

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