Vb.net – Sorting Report data in a ReportViewer using a BindingSource


I'm trying to get ReportViewer to display data from a BindingSource (VB.Net Winforms).

I built the report on the underlying dataset. Then I configured the Data Source Instance to the BindingSource. I thought that would apply the sorting, filtering, etc. But it just looks like the data is coming from the dataset instead of the BindingSource.

I suspect I'm missing something simple.

Update: Or maybe it isn't so simple – I posted this a few days ago and still nobody knows the answer! Maybe I'm trying to do something that can't be done?

Best Solution

You'll need to specify the sorting in the report (in the RDL), since it applies its own sorting logic.

Related Question