xinxi/paiming.aspx

(完整代码) 1KB

<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="paiming.aspx.cs" Inherits="xinxi_paiming" Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#6298E1">
  <tbody><tr>
    <td height="24" nowrap=""><font color="#FFFFFF"><img src="../Images/Explain.gif" width="18" height="18" border="0" align="absmiddle">&nbsp;<strong> 成绩排名<asp:DropDownList 
            ID="kc" runat="server" DataSourceID="SqlDataSource1" DataTextField="kc" 
            DataValueField="kc">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:DConnectionString %>" 
            SelectCommand="SELECT [kc] FROM [kecheng]"></asp:SqlDataSource>
        <asp:Button ID="Button1" runat="server" Text="查询" onclick="Button1_Click" />
        </strong></font></td>
  </tr> 
    
  
</tbody></table>
<br>
  <center>


   <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="cjid" Width="100%"  AllowPaging="True"  GridLines="None" onpageindexchanging="GridView1_PageIndexChanging">
        <RowStyle Height="25px" HorizontalAlign="Center"  BorderColor="#6298E1" BorderWidth="1px"  />
        <Columns>       
        <asp:BoundField DataField="cj" HeaderText="成绩"  SortExpression="cj" />

  <asp:BoundField DataField="xs" HeaderText="学生"  SortExpression="xs" />
  <asp:BoundField DataField="kc" HeaderText="课程"  SortExpression="kc" />

        </Columns>
        <HeaderStyle Height="27px"  BackColor="#8DB5E9" ForeColor="#FFFFFF" />
        <PagerStyle HorizontalAlign="Center" />
    </asp:GridView>

  <br>

</center>
</asp:Content>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。