reorder columns in a gridview

  • Thread starter Thread starter eagle
  • Start date Start date
E

eagle

How can I reorder the columns in a gridview. The gridview is autogenerated,
and in a windows application I can use gv.columns("Client').DisplayIndex=0
but in an asp page I get an errors that says DisplayIndex is not a member.
How can I do this? Thanks for your help.
 
in the autogenerated aspx code, move the column in the gridview.
the order of the columns in the aspx code will affect the order of the
display
 

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