Custom View data from partial view to view

Posted by Hers under ASP.NET MVC on 3/28/2017 | Points: 10 | Views : 221 | Status : [Member] | Replies : 0
Hi,

I am new to ASP.NET MVC. I would like to get some help on getting custom data from controller to view.

I have queried and concatenated the result of a table from model based on a criteria. I want this to be viewed as a partial view in the Index page. For this, I pass the queried result as follows
return PartialView(rds.ToList())


The purpose is to display a listview of these items in the Index view as partial. I don't know how to grab this data from the partial view. Please help.

Thanks




Responses

(No response found.)

Login to post response