当前位置: 代码迷 >> ASP.NET >> cshtml 有点不懂 基础
  详细解决方案

cshtml 有点不懂 基础

热度:4795   发布时间:2013-02-25 00:00:00.0
cshtml 有些不懂 基础
刚开始学MVC,下边2句看不懂,请教下

  <script type="text/javascript">
  $(function () { $("#dvAccountInfo").load('@Url.Action("AccountInfo", "Account")'); });
  </script>
  <link href="@Url.Content("~/Content/Site.min.css")" rel="stylesheet" type="text/css" />
  @RenderSection("Header", false)



HTML code
<head>    <title>@ViewBag.Title</title>    <meta http-equiv="Content-Type" content="text/html;charset=utf8" />    <link rel="Stylesheet" type="text/css" href="/content/jquery-ui-1.8.12.css" />    <script type="text/javascript" src="/scripts/jquery-1.6.4.min.js"></script>    <script type="text/javascript" src="/scripts/jquery-ui-1.8.12.min.js"></script>    <script type="text/javascript" src="/scripts/Site.min.js"></script>    <script type="text/javascript">        $(function () { $("#dvAccountInfo").load('@Url.Action("AccountInfo", "Account")'); });    </script>    <link href="@Url.Content("~/Content/Site.min.css")" rel="stylesheet" type="text/css" />    @RenderSection("Header", false)</head>