I’m trying to make my Listview show only one record just like how DetailsView does it. At the moment it’s showing all my records from the table in my database in a long list, I want to make it show only the latest record from the table. Works for detailsview but not listview.
Anyone know how I can do this?
you should filter your datasource so your listview shows only one result, something like