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
[CODE]return PartialView(rds.ToList())[/CODE]
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
Ramesh BarikRank #3,664 · 401 reputationPosted Mar 28, 2017, 1:00 AM EDT
Sunshine175 reputationPosted Mar 28, 2017, 4:42 AM EDT
Ramesh BarikRank #3,664 · 401 reputationPosted Mar 28, 2017, 5:01 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts