I'am a fresh man of ASP.NET MVC5.
I wonder How to achive below function with MVC5:
In MVC5 , I deign a textarea that user can input select query then click button to do select function and show results. But , there are multiple target DB which means different table with different column count.(user might select different table each time)
Before I start with MVC5 , I did some similar works like:
1.In Windows Form C#, I could use DataSet to store results from multiple tables and show result with DataGridView object
2.In ASP.NET WebForm, I could use DataTable with < asp:GridView > to show a select query result
Now, with ASP.NET MVC5 , the user interface already done.
But when I search how to show result with MVC5, all the reference shows I have to declare datatype in models.cs then call it.But I have so many tables and each table contains different columns count. I stucked. q_q
Would you give me some tips or keywords to find exactly information that I need?
Thanks all. Wish Everyone well.(if my statment are not understandable, please let me know)