<%@ Page Language="C#" MasterPageFile="~/Dialog/DialogMaster.Master" AutoEventWireup="true" CodeBehind="FieldMetaEdit.aspx.cs" Inherits="OAWeb.Dialog.FieldMetaEdit" Title="无标题页" Theme="Default" EnableViewState="true" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <div style="width: 500px; height: 300px; overflow-y: scroll; padding:10px;">
    <table class="table_form">
        <tr>
            <td colspan="2" class="tb-caption">
                视图字段编辑
            </td>
        </tr>
        <tr>
            <td class="tb-label">
                <font class="c-red">*</font> 字段名称：
            </td>
            <td class="tb-editor">
                <asp:TextBox ID="txtFieldName" runat="server" Width="200px"></asp:TextBox>
                &nbsp;(英文字母组合)
            </td>
        </tr>
        <tr>
            <td class="tb-label">
                <font class="c-red">*</font> 显示名称：
            </td>
            <td class="tb-editor">
                <asp:TextBox ID="txtFieldLabel" runat="server" Width="200px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="tb-label">
                <font class="c-red">*</font> 数据类型：
            </td>
            <td class="tb-editor">
                <asp:DropDownList ID="ddlDataType" runat="server">
                    <asp:ListItem Value="varchar">Text</asp:ListItem>
                    <asp:ListItem Value="text">Text Area</asp:ListItem>
                    <asp:ListItem Value="int">Integer</asp:ListItem>
                    <asp:ListItem Value="float">Decimal</asp:ListItem>
                    <asp:ListItem Value="bool">Checkbox</asp:ListItem>
                    <asp:ListItem Value="date">Date</asp:ListItem>
                    <asp:ListItem Value="guid">Guid</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="tb-label">
                长度：
            </td>
            <td class="tb-editor">
                <asp:TextBox ID="txtFieldLength" runat="server" Width="164px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td  class="tb-label">
                是否枚举字段：
            </td>
            <td class="tb-editor">
                <asp:CheckBox ID="chkEnum" runat="server" OnCheckedChanged="chkEnum_CheckedChanged"
                    AutoPostBack="True" />
                <asp:DropDownList ID="ddlEnumType" runat="server" Visible="false">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="tb-editor algin-center" colspan="2">
                <asp:Button ID="btnSave" runat="server" Text=" 提 交 " CssClass="btn_77px" OnClick="btnSave_Click" />
                <asp:Button ID="btnClose" runat="server" Text=" 关 闭 " CssClass="btn_77px" OnClientClick="art.dialog.close();;return false;" />
            </td>
        </tr>
    </table>
    </div>
</asp:Content>
