Hi,
I have a list<hotel> ,which i'm binding to a listview, This list contain columns with values and null values. I'm doing sorting in both ascending and descending order. Descending no problem it works
lstHotels.DataSource = lstHotelList.OrderByDescending(o => o.MinPrice).ToList();
in Ascending order
lstHotels.DataSource = lstHotelList.OrderBy(o => o.MinPrice).ToList();
in this case the rows that have null values are appearing on the top,
What I want is I want to show records with smaller value on the top and put the records with null values at the end of listview
how to do?
ANy help wil be appreciated
Regards
Chinnu