I have two list of different objects :
List<Report>
List<Newsletter>
each having a ‘created date’ property. I need to sort the created date of both lists in descending order and bind it to a gridview.
How can this be done, as i can provide only one datasource?
You could firstly create
Listof dates:And then use a
DataTablestructure for binding: