One particular controller that I have returns a Dataset as XML back to the client. This Dataset consists of 2 DataTables:
- Results: The results of a query
- Columns: Describe each column in results (eg. datatype, caption, alignment, etc)
I'm returning a dataset because I'm just returning exactly what comes back from the db. I'm not using DTO's or any mapping. The reason is because the query is built dynamically and columns will vary.
Currently I'm returning the top 50 results to limit the payload.
Is it possible to implement some kind of paging when using Datasets in such a way?