30 July 2014

How to read html code from viewbag in mvc3 view

@Html.Raw(ViewBag.data)
(or)
@Html.Raw((String)ViewBag.Data)

No comments:

Post a Comment