Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
RenderPartial Dynamically from Database Values
Sairam
Jan 18 2016 4:43 AM
336
Reply
Hi
I am having index.cshml where i render multiple partial like
Html.RenderPartial("emp1");
Html.RenderPartial("emp2");
Now i want to make this renderpartial dynamic.I want to fetch values from DB .
emp1,emp2 are data available in the database.I want to fetch this data from db and using loop i want to make html.renderpartial
Can somebody provide an idea to make it using knockout and mvc .
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Textblock content truncated/not showing completely
Check if value of Table A Column A in Table B Column B