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

<!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>排序Order By查询</title>
    <style type="text/css">



        .style1
        {
            font-family: 华文琥珀;
            font-size: xx-large;
            color: #008000;
        }
        .style2
        {
            color: #008080;
            border-left-color: #ACA899;
            border-right-color: #C0C0C0;
            border-top-color: #ACA899;
            border-bottom-color: #C0C0C0;
            font-family: 华文细黑;
            font-weight: bold;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table align="center" style="width: 619px">
            <tr>
                <td align="center" class="style1">
                    <span class="style2">排序Order By查询</span>
                    <br />
                </td>
            </tr>
            <tr>
                <td align="center">
                    &nbsp; 请选择排序字段和排序方式：<asp:DropDownList ID="DropDownList1" runat="server" 
                        Height="16px" Width="89px">
                        <asp:ListItem>职工号</asp:ListItem>
                        <asp:ListItem>仓库号</asp:ListItem>
                        <asp:ListItem>姓名</asp:ListItem>
                        <asp:ListItem>性别</asp:ListItem>
                        <asp:ListItem>工资</asp:ListItem>
                    </asp:DropDownList>
                    &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<asp:RadioButton ID="RadioButton1" runat="server" AutoPostBack="True" 
                        Checked="True" oncheckedchanged="RadioButton1_CheckedChanged" Text="升序" />
                    &nbsp;&nbsp;
                    <asp:RadioButton ID="RadioButton2" runat="server" AutoPostBack="True" 
                        oncheckedchanged="RadioButton2_CheckedChanged" Text="降序" />
&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="Button1" runat="server" Text="  排  序  " 
                        onclick="Button1_Click" />
                    <br />
                    <br />
                </td>
            </tr>
            <tr>
                <td align="center">
                    <asp:GridView ID="GridView1" runat="server" BackColor="White" 
                        BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px" CellPadding="4" 
                        Width="571px">
                        <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
                        <RowStyle BackColor="White" ForeColor="#330099" />
                        <PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
                        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
                        <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
                    </asp:GridView>
                    &nbsp;
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
