I have a Winforms app which provides the ability for users to create their own reports. At its simplest they design the query which gets encrypted and saved into a database.
The ability to view these reports via the web as now come upon us.
What is the best way to handle this? Ideally I want to use MVC but there will be no model or viewmodel because these queries can return data for any table across the application and so I cannot have hardcoded propeties etc. Obviously I have access to the SQL to execute it.
I wonder if tradtional ASP.Net may perform better in this scenario ie/execute the SQL and put it in a DataTable but was hoping to get some thoughts from the community.
In a similar situation I used ASP.NET MVC with DataTables.net at the client side. I have an extension method on DataSet that returns the data in the JSON format required by DataTables.net. You will need a table/thead stub in the html that describes each column, but that could probably be generated if you parse the column names out of the SQL query or even better if you store column metadata when the user designs the report