MVC 中的@是什么意思?比如下面的一堆@分别是什么意思?
@modelSanyuan.JSE.AP.Model.OrderModel@{ViewBag.Title="确认订单";Layout="~/Views/Shared/_A...
@model Sanyuan.JSE.AP.Model.OrderModel
@{
ViewBag.Title = "确认订单";
Layout = "~/Views/Shared/_AppLayout.cshtml";
}
@section head{
@Content.DateTimePicker()
@Content.JqueryValidator()
}
@using (Ajax.BeginForm("EditPersonalOrderAjax", new { controller = "App" }, new AjaxOptions { OnSuccess = "ajax_Success", OnFailure = "fail_Ajax_Form" }, new
{
id = "mainForm",
name = "mainForm"
}))
{
<!--导航开始{-->
@Html.HiddenFor(model => model.AppCode)
@Html.HiddenFor(model => model.OrderNo) 展开
@{
ViewBag.Title = "确认订单";
Layout = "~/Views/Shared/_AppLayout.cshtml";
}
@section head{
@Content.DateTimePicker()
@Content.JqueryValidator()
}
@using (Ajax.BeginForm("EditPersonalOrderAjax", new { controller = "App" }, new AjaxOptions { OnSuccess = "ajax_Success", OnFailure = "fail_Ajax_Form" }, new
{
id = "mainForm",
name = "mainForm"
}))
{
<!--导航开始{-->
@Html.HiddenFor(model => model.AppCode)
@Html.HiddenFor(model => model.OrderNo) 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询