sorting columns with repeater

  • Thread starter Thread starter Viktor Popov
  • Start date Start date
V

Viktor Popov

Hi,
I'd like to asky you if it could be accomplished sorting with repeater by
column? If yes would you give me an example or link to find out?
Thanks!

Viktor
 
Hi Viktor:

What do use as a DataSource? Many of the data sources have an inherent
sorting capability, that is you can Sort an array or add a sorted
DataView on top of a DataTable. Even if you populate the repeater
using a SQL query and a data reader, you could add an ORDER BY clause
to your SQL statement to bring in the records in a sorted order.
 
Repeaters don't have columns, so I don't understand what you are trying to do. But i'm sure it can be done if you try hard enough. There isn't any built in features of the repeater to accomplish any type of sorting if that is what you are asking.
 
Back
Top