how to pass parameters to partial view to show db content?

Posted by user278741 on Stack Overflow See other posts from Stack Overflow or by user278741
Published on 2010-03-15T14:31:07Z Indexed on 2010/03/15 14:39 UTC
Read the original article Hit count: 144

Filed under:

I am getting my content from a database. How can i use partial views to show content on page using that database?
database table: Content
[Id, Content] these are 2 fields

i want to get the content from db using partial views.
How i will pass an id to a partial view and show the content in view page?

© Stack Overflow or respective owner

Related posts about asp.net-mvc