How to group data of Listview when data are bind from SQL Database
I used Collection View Source for that but it is not working
My Code lines are mentioned below :
CollectionViewSource viewSource = new CollectionViewSource { Source = ds };
viewSource.GroupDescriptions.Add(new PropertyGroupDescription("RequestID"));
ListView1.ItemsSource = viewSource.View;
but it not working properly , even data are not show in listview when Listview Item Source is bind with Collection View Source
Please help me out. Thanks a lot.