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

<!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:60%; 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="进度描述" />
                <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:60%;">
        <table border=1 width=100%>
            <tr>
                <td width=17%>进度名称</td><td width=30%><asp:TextBox ID=txtClientRateName runat=server /></td>
                <td width=17%>序号</td><td width=30%><asp:TextBox ID=txtClientRateNo runat=server />
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="序号为1-3位整数" ControlToValidate="txtClientRateNo" ValidationExpression="\d{1,3}" Display=dynamic></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>进度描述</td><td colspan=3><asp:TextBox ID=txtClientRateContent runat=server Rows=3 TextMode=multiLine /></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>
