Sort DropDownList

  • Thread starter Thread starter Samuel Shulman
  • Start date Start date
S

Samuel Shulman

I am looking for a simple method to sort the DropDownList after it was
loaded

Thank you,
Samuel
 
You can also take your data to bind, and get a DataView
(DataSet.DefaultView) if a dataview is available, and then apply a sort
to the dataview.

Not sure what type of data you are binding though, perhaps if you could
inform us, we can give you some better advice.

thanks

Sean
 
Thanks Sean and the other fellow

I am loading the dropdown lists with Enum values defined locally so I first
read it into a DataTable and then I move the values to the DataView, sort it
and load it

Cheers,
Samuel
 
Back
Top