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
 
Back
Top