Alex
Alex

Reputation: 4938

How to Sort ListView Columns (Data from SQL Table)

How do you go about sorting data by clicking on the column header when your data is retrieved from a database table?

Is there an easy way of doing it or do I need to respond on the header's "click" event to call an "ORDER BY" on my query?

Upvotes: 0

Views: 1449

Answers (1)

Alex
Alex

Reputation: 4938

I figured it out by following this link:

On step three, I didn't manually add my items but it still worked.

Upvotes: 1

Related Questions