Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Pass dapper model to ienumberable model in view page

$
0
0

hello members,

how to pass dapper model to ienumberable model in view page?

Example : I am passing ienumberable model in grid.cshtml and i wanted a dropdownlist for sorting of values in grid.cshtml.

As the grid.cshtml is ienumberable model and drowpdownlist is dapper.model so while submitting i am not able to fetch the records in [HttpPost] in method.

please suggest the solution,

Regards,

Saurabhnachankar@gmail.com

 


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>