⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 editscore.aspx

📁 程序学生信息管理系统(SQL2000+ASP.NET+c#+)
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EditScore.aspx.cs" Inherits="Default2" %>

<!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>
    <link href="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body bgproperties="fixed" background="Img/bg.gif">
    <form id="form1" runat="server">
    <div align="center">
        <table style="width: 782px; height: 387px" cellpadding="0" cellspacing="0" border="1" bordercolor="#ffffff">
            <tr>
                <td align="center" colspan="7" height="50" style="font-weight: bold; font-size: 25px;
                    color: #ffffff; font-family: 楷体_GB2312; background-color: #66ffff" scope="0" background="BG/007.jpg">
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;学生成绩管理
                    &nbsp; &nbsp; &nbsp;
                    <asp:Label ID="Label2" runat="server" Font-Bold="True" Font-Italic="False" Font-Size="13px" ForeColor="Red" Width="196px"></asp:Label></td>
            </tr>
            
            <tr>
                <td style="width: 189px" bgcolor="#ffffff" align="right" height="25" >
                    <asp:Label ID="Label1" runat="server" Text="成绩查询:" Font-Bold="True" Width="87px"></asp:Label></td>
                <td style="width: 97px" bgcolor="#ffffff" align="right" height="20" >
                    <asp:DropDownList ID="DropDownList1" runat="server" Width="80px" Font-Bold="True" Font-Size="12px">
                        <asp:ListItem Value="Name">学生姓名</asp:ListItem>
                        <asp:ListItem Value="StudentID">学生号</asp:ListItem>
                    </asp:DropDownList></td>
                 <td bgcolor="#ffffff" width="100" height="20" >
                    <asp:TextBox ID="TextBox1" runat="server" Height="13px" Width="83px"></asp:TextBox></td>
                  <td bgcolor="#ffffff" width="100" height="20" >
                      <asp:ImageButton ID="ImageButton6" runat="server" ImageUrl="~/Img/newtopic.gif" OnClick="ImageButton6_Click" />&nbsp;</td>
                   <td bgcolor="#ffffff" style="width: 94px" align="right" height="20" >
                    <asp:DropDownList ID="DropDownList2" runat="server" Font-Bold="True" Font-Size="12px"
                        Width="100px">
                        <asp:ListItem>计算机网络</asp:ListItem>
                        <asp:ListItem Value="[ASP.NET]">ASP.NET</asp:ListItem>
                        <asp:ListItem>计算机应用</asp:ListItem>
                        <asp:ListItem Value="[Ado.net]">ADO.NET</asp:ListItem>
                        <asp:ListItem>网页设计</asp:ListItem>
                        <asp:ListItem Value="Windows应用设计">Win应用设计</asp:ListItem>
                    </asp:DropDownList>
                   </td>
                    <td bgcolor="#ffffff" width="100" style="font-weight: bold" height="20" >
                        成绩:<asp:TextBox ID="TextBox2" runat="server" Height="15px" Width="49px"></asp:TextBox></td>
                     <td bgcolor="#ffffff" width="100" height="20" >
                         &nbsp;
                         <asp:ImageButton ID="ImageButton5" runat="server" ImageUrl="~/Img/post_button_search.gif"
                             OnClick="ImageButton5_Click" /></td>
                     
                     
            </tr>
            <tr>
                <td colspan="7" rowspan="2" align="center" valign="top" style="height: 291px" background="BG/logo_right.gif">
                    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" PageSize="7" Width="782px" AutoGenerateColumns="False" BackColor="MenuBar" BorderColor="White" BorderStyle="None" BorderWidth="1px" CellPadding="2" GridLines="None"  HorizontalAlign="Center" OnPageIndexChanging="GridView1_PageIndexChanging" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating" CellSpacing="-1" ForeColor="Black" Height="20px" OnRowDeleting="GridView1_RowDeleting" OnRowDataBound="GridView1_RowDataBound">
                       
                        <Columns>
                            <asp:BoundField DataField="StudentID" HeaderText="学生ID" ReadOnly="True" >
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Name" HeaderText="学生姓名" ReadOnly="True" >
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="计算机网络" DataField="计算机网络" >
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="ASP.NET" HeaderText="ASP.NET" >
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="计算机应用" HeaderText="计算机应用" >
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Ado.net" HeaderText="ADO.NET" >
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="网页设计" HeaderText="网页设计" >
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Windows应用设计" HeaderText="Windows应用设计">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:CommandField HeaderText="编辑" ShowEditButton="True" ButtonType="Image" CancelImageUrl="~/Img/delete.gif" CancelText="取 消" EditImageUrl="~/Img_Button/post_button_edit.gif" EditText="编 辑" UpdateImageUrl="~/Img/edit.gif">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:CommandField>
                            <asp:CommandField HeaderText="删除" ShowDeleteButton="True" ButtonType="Image" DeleteImageUrl="~/Img_Button/post_button_delete.gif">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:CommandField>
                        </Columns>
                        <PagerTemplate>
                            <table style="width: 535px; height: 24px">
                                <tr>
                                </tr>
                            </table>
                                    <table align ="right" >
                                    <tr>
                                        <td>
                                            <asp:Label ID="LabelCurrentPage" runat="server" Font-Size="Small">当前页:<%# ((GridView)Container.NamingContainer).PageIndex + 1 %></asp:Label></td>
                                        <td>
                                            <asp:Label ID="LabelPageCount" runat="server" Font-Size="Small">总页数:<%# ((GridView)Container.NamingContainer).PageCount %></asp:Label></td>
                                        <td style="width: 29px">
                                            <asp:ImageButton ID="ImageButton1" runat="server" CommandArgument="First" CommandName="page"
                                                ImageUrl="~/Img/bfirst.gif" /></td>
                                        <td>
                                            <asp:ImageButton ID="ImageButton2" runat="server" CommandArgument="prev" CommandName="page"
                                                ImageUrl="~/Img/bprev.gif" /></td>
                                        <td style="width: 60px">
                                            <asp:ImageButton ID="ImageButton3" runat="server" CommandArgument="next" CommandName="page"
                                                ImageUrl="~/Img/bnext.gif" /></td>
                                        <td>
                                            <asp:ImageButton ID="ImageButton4" runat="server" CommandArgument="last" CommandName="page"
                                                ImageUrl="~/Img/btail.gif" /></td>
                                    </tr>
                                </table>
                            &nbsp;
                           
                        </PagerTemplate>
                        <FooterStyle BackColor="#CCCC99" ForeColor="Black" Height="20px" />
                        <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
                        <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" HorizontalAlign="Center"
                            Wrap="True" />
                        <EditRowStyle BorderStyle="None" BorderWidth="0px" Height="18px" HorizontalAlign="Center" />
                    </asp:GridView>
                    &nbsp; &nbsp; &nbsp; &nbsp;
                    &nbsp;&nbsp;</td>
            </tr>
            <tr>
            </tr>
        </table>
    
    </div>
        &nbsp; &nbsp;&nbsp;&nbsp;
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -