<%@ page language="C#" autoeventwireup="true" inherits="admin_Fields_add, App_Web_fields_add.aspx.fdf7a39c" smartnavigation="true" %>

<%@ Register Src="yanz.ascx" TagName="yanz" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>添加字段</title>
    <link href="images/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="ckeditor/ckeditor.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="frame_Toolbar" class="toolbarBg"> 
        <uc1:yanz ID="Yanz1" runat="server" />
        <a href="javascript:self.history.back();" class="icoBtn_ct"><span class="btnIco btnBack"></span><span class="btnTxt">返回</span></a> <a href="javascript:self.location.reload();" class="icoBtn_ct"><span class="btnIco btnReload"></span><span class="btnTxt">刷新</span></a> 
       
        <span class="split ftSplit" ></span>
	<div id="guide" class="light_orange">您现在的位置：扩展管理 >> <a href="Model.aspx">字段管理</a> >> <a href="Fields.aspx?id=<%=Request.QueryString["id"].ToString() %>">字段管理</a> >> 添加</div>
	<div class="pageInfo right light_gray"></div>
    </div>
    <table class="cTable_2 table">
	<tr class="cTitle toolbarBg">
		<td width="25%"><div>基本信息</div></td>
		<td colspan="2"></td>
	</tr>
	<tr>
		<td class="tRight">字段名：</td>
		<td colspan="2"><asp:TextBox ID="TextBox1" runat="server" Width="300px" AutoPostBack="True" OnTextChanged="TextBox1_TextChanged"></asp:TextBox>
            <asp:Label ID="Label1" runat="server" ForeColor="Red" Text="*这里的名称跟表中字段一样"></asp:Label></td>
	</tr>
	<tr>
		<td class="tRight">字段别名：</td>
		<td colspan="2"><asp:TextBox ID="TextBox2" runat="server" Width="300px"></asp:TextBox><font color="red">*</font>
         </td>
	</tr>
	<tr>
		<td class="tRight">字段提示：</td>
		<td colspan="2"><asp:TextBox ID="TextBox3" runat="server" Width="300px"></asp:TextBox>
         </td>
	</tr>
	<tr>
		<td class="tRight">是否必填：</td>
		<td colspan="2"> <asp:CheckBox ID="CheckBox1" runat="server"  Text="是"/>
         </td>
	</tr>
	<tr>
		<td class="tRight">是否显示：</td>
		<td colspan="2">
           <asp:CheckBox ID="CheckBox2" runat="server"  Text="是"/>
         </td>
	</tr>
	<tr>
		<td class="tRight">是否检索：</td>
		<td colspan="2">
           <asp:CheckBox ID="CheckBox3" runat="server"  Text="是"/>
         </td>
	</tr>

	<tr>
		<td class="tRight">字段类型：</td>
		<td colspan="2"><font color="red">
            <asp:DropDownList ID="DropDownList1" runat="server">
            </asp:DropDownList>*</font>
         </td>
	</tr>
		<tr>
		<td class="tRight">数据验证：</td>
		<td colspan="2">
		<asp:TextBox ID="TextBox4" runat="server" Width="300px"></asp:TextBox>
         </td>
	</tr>
	<tr>
		<td class="tRight">默认值：</td>
		<td style="width:400px">
		<asp:TextBox ID="TextBox5" runat="server" Width="400px" Height="120px" TextMode="MultiLine"></asp:TextBox>
         </td>
         <td style="vertical-align:top">
         多个值，回车隔开<br />
         默认命令：当前时间 自动获取<br />
         sql语句用法：sql{表名=表名|查询条件=where id=1|排序=order by id desc|返回字段=title,id}
         </td>
	</tr>
	<tr>
		<td class="tRight">列表CSS：</td>
		<td colspan="2"><asp:TextBox ID="TextBox6" runat="server" Width="80px">10%</asp:TextBox><font color="red">*</font>
         </td>
	</tr>
	<tr>
		<td class="tRight">排序：</td>
		<td colspan="2"><asp:TextBox ID="TextBox7" runat="server" Width="80px"></asp:TextBox><font color="red">*</font>
         </td>
	</tr>

	      </table>
    <div id="cEndToolbar" class="toolbarBg">
      <div class="caButCase">
          <asp:Button ID="Button1" runat="server" CssClass="button" Text="确认操作" OnClick="Button1_Click1" />
		    
	        <input type="reset" name="Submit2" value="清空重填" class="button">
      </div>
    </div>

    </form>
</body>
</html>
