微软技术

2012 年 9 月 14 日9940

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Model.SS_CODE>" %>
<asp:Content ContentPlaceHolderID="TitleContent" runat="server">
Create
</asp:Content>
<asp:Content ContentPlaceHolderID="MainContent" runat="server">
<h2>
Create</h2>
<% using (Html.BeginForm())
{%>
<%: Html.TextBoxFor(model => model.C_CNAME)%>
<%: Html.ValidationMessageFor(model => model.C_CNAME)%>
<p>
<input type="submit" value="Create" />
</p>
<%} %>
</asp:Content>
<asp:Content ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

0 0