<%@ Page Language="C#" MasterPageFile="Admin.Master" AutoEventWireup="true" CodeBehind="Adtypeadd.aspx.cs" Inherits="Mvcb2b.admin.Adtypeadd" Title="广告位置添加" %>
<%@ MasterType VirtualPath="Admin.Master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="path">当前位置： 系统管理 >>  广告位置管理</div>
<h3><asp:Literal  ID="Literal1" runat="server"></asp:Literal></h3>

<table width="88%" border="0" align="center">      
<tr><td align="right">位置说明：</td><td><asp:TextBox ID="classname_txt" runat="server" Width="180px"></asp:TextBox> <span style="color: Red">*</span><asp:RequiredFieldValidator ID="RequiredFieldValidator1"     runat="server" ErrorMessage="广告位置名称不能为空" Display="None" ControlToValidate="classname_txt"></asp:RequiredFieldValidator></td></tr>  
<tr><td align="right">英文代码：</td><td><asp:TextBox ID="classen_txt" runat="server" Width="180px"></asp:TextBox> <span style="color: Red">*</span><asp:RequiredFieldValidator ID="RequiredFieldValidator2"     runat="server" ErrorMessage="广告位置英文不能为空" Display="None" ControlToValidate="classen_txt"></asp:RequiredFieldValidator><span style="color:#ccc;">英文或拼音</span></td></tr>  
<tr><td align="right">描述：</td><td><asp:TextBox ID="classdes_txt" runat="server" Width="180px"></asp:TextBox></td></tr> 
<tr><td align="right">宽：</td><td><asp:TextBox ID="adwidth_txt" runat="server" Text="" Width="50px"></asp:TextBox>px
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="广告宽度不能为空" Display="None" ControlToValidate="adwidth_txt"></asp:RequiredFieldValidator>
<asp:comparevalidator id="comparevalidator2" runat="server" ErrorMessage="广告宽度只能为数字!" ControlToValidate="adwidth_txt" Display="None" Type="Integer" Operator="DataTypeCheck"></asp:comparevalidator>
</td></tr> 
<tr><td align="right">高：</td><td><asp:TextBox ID="adheight_txt" runat="server" Text="" Width="50px"></asp:TextBox>px
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="广告高度不能为空" Display="None" ControlToValidate="adheight_txt"></asp:RequiredFieldValidator>
<asp:comparevalidator id="comparevalidator1" runat="server" ErrorMessage="广告高度只能为数字!" ControlToValidate="adheight_txt" Display="None" Type="Integer" Operator="DataTypeCheck"></asp:comparevalidator>
</td></tr> 
<tr><td align="right">排序：</td><td><asp:TextBox ID="sortid_txt" runat="server" Text="1000" Width="50px"></asp:TextBox></td></tr>
<tr><td colspan="2" align="center"><asp:HiddenField ID="action_txt" runat="server" /><asp:HiddenField ID="id_txt" runat="server" /><asp:Button ID="Add" runat="server" Text="添加" Width="58px" OnClick="Add_Click"></asp:Button><asp:Button ID="Edit" runat="server" Text="修改" Width="58px" OnClick="Edit_Click"></asp:Button>&nbsp;<asp:validationsummary id="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False"></asp:validationsummary> <input type="button" value="返回" name="go" style="width:58px;" onclick="javascript:history.go(-1);"  /></td></tr>
</table>

<div class="help">
        <h4>? 帮助</h4>
        <ul>        
        <li></li>

        </ul>
</div>
<br />

</asp:Content>
