User-271186128 posted
Hi jeancarlosc,
Welcome to asp.net forum.
I would like no entity to check the 3 customers who spent the most
Please explain more details about your questions? what do you mean about "no entity"?
If you want to get the customer who spent the most time, you could sort the customer by the spent time, then get the first (descending sort) or last (ascending sort) one.
If you are using SQL server database to store the customers' information, you could use the SQL ORDER BY Keyword to
sort the data, then, get the item.
If you are using DataTable to store the data, you could
use LINQ to DataSet query and orderby clause to sort the data.
Best regards,
Dillion