<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FeedbackTypeConfig.aspx.cs" Inherits="Pages_System_Basic_FeedbackTypeConfig" %>

<!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 runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">

    <div style="width:40%; margin:12px;">
        <asp:GridView ID=GridView1 runat=server Caption=联系反馈类型列表
                 OnSelectedIndexChanging=GridView1_SelectedIndexChanging
                 OnRowDeleting=GridView1_RowDeleting
                 OnPageIndexChanging=GridView1_PageIndexChanging >
            <Columns>
                <asp:BoundField DataField="联系类型" HeaderText="联系类型" />
                <asp:BoundField DataField="序号" HeaderText="序号" ItemStyle-Width=60 />
                <asp:CommandField ShowSelectButton=True HeaderText="选择" ButtonType=image SelectImageUrl="../../../images/icon/edit.gif" ItemStyle-HorizontalAlign=center />            
                <asp:CommandField ShowDeleteButton=True HeaderText="删除" ButtonType=image DeleteImageUrl="../../../images/icon/del.gif" ItemStyle-HorizontalAlign=center/>
            </Columns>
        
        </asp:GridView>
    </div>
    <div style="margin-left:12px; margin-top:24px; width:40%;">
        <table border=1 width=100%>
            <tr>
                <td width=20%>联系反馈类型</td><td width=27%><asp:TextBox ID=txtFeedbackTypeName runat=server /></td>
                <td width=17%>序号</td><td width=30%><asp:TextBox ID=txtFeedbackTypeNo runat=server />
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="序号为1-3位整数" ControlToValidate="txtFeedbackTypeNo" ValidationExpression="\d{1,3}" Display=dynamic></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td colspan=4 style="text-align:center;"><asp:Button ID=Button1 runat=server Text="添加" OnClick="Button1_Click" />
                    <asp:Button ID=Button2 runat=server Text=修改 OnClick=Button2_Click /></td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
