在ASP.NET-MVC-中将html代码加载到前端JAY.LIN 收录于 Mvc Asp 2022-04-10 约 144 字 预计阅读 1 分钟 目录 在ASP.NET MVC 中将html代码加载到前端后端写:ViewData[“xwdt1”] = xwdt1;前端写:@Html.Raw(HttpUtility.HtmlDecode(ViewData[“xwdt1”].ToString().Trim()));Please enable JavaScript to view the comments powered by Giscus.