点击回首页
我的浏览记录 | | 帮助?
当前位置:
首页>> 尚未分类>> Asp.net学生信息管理系统源码>> 源文件浏览
[免费版 Free] WebForm,下载次数:27950 次 | 关键字: 学生信息 存储过程 课程设计

源码截图

源码目录树

当前路径:grade.aspx     <%@ Page Language="C#" AutoEventWireup="true" CodeFile="grade.aspx.cs" Inherits="grade" %>

<!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>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div> 
        <asp:DataList ID="RepeaterC" runat="server" Width="760px" RepeatColumns="10" RepeatDirection="Horizontal" RepeatLayout="Flow">
         <ItemTemplate>
                        <td>
                            <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl='<%# Eval("courseid", "grade.aspx?id={0}") %>' Text='<%# Bind("coursename") %>' Font-Size="Small"></asp:HyperLink>
                            <img src="Image/top_files/splitline_01.gif"/>
                        </td>
                    </ItemTemplate>
        </asp:DataList>          
            <table bordercolor="#FFCC00" style="width: 760px; height: 205px">
                <tr>
                    <td align="center" colspan="3" style="width: 801px; height: 9px; background-image: url(Image/top_files/Topback.GIF);">
                        <asp:Label ID="Label4" runat="server" Font-Size="Small" Text="����"></asp:Label>
                        &nbsp;<asp:DropDownList ID="DropDownList1" runat="server" Font-Size="X-Small" Width="94px" ToolTip="��ѡ��Ҫ��ѯ�Ŀγ�����!">
                        </asp:DropDownList>
                        <asp:Label ID="Label5" runat="server" Font-Size="Small" Text="ѧ������"></asp:Label>
                        <asp:TextBox ID="TextBox3" runat="server" Font-Size="X-Small" Width="120px" EnableViewState="false" ToolTip="������Ҫ��ѯ��ѧ������,�������ѯ��ť!"></asp:TextBox>
                        &nbsp;
                        <asp:Label ID="Label6" runat="server" Font-Size="Small" Text="ѧ��"></asp:Label>
                        <asp:TextBox ID="TextBox4" runat="server" Width="112px" Font-Size="X-Small" ToolTip="������Ҫ��ѯ��ѧ��ѧ��,�������ѯ��ť!"></asp:TextBox>
                        <asp:Button ID="Button1" runat="server" Font-Size="X-Small" OnClick="Button1_Click"
                            Text="����" Width="43px" />
                        <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="����" Width="43px" Font-Size="X-Small" />
                        <asp:LinkButton ID="LinkButton5" runat="server" OnClick="LinkButton5_Click" Text="����ӡ�" Font-Size="Small"></asp:LinkButton></td>
                    <td align="center" colspan="1" style="font-size: 12pt; width: 143px; height: 9px">
                    </td>
                </tr>
                <tr style="font-size: 12pt">
                    <td colspan="3" rowspan="1" style="width: 801px; height: 220px">
                        <asp:GridView ID="sms_grade" runat="server" AllowPaging="True" AutoGenerateColumns="False" OnRowEditing="RowEditing" OnRowCancelingEdit="RowCancel"  OnRowUpdating="RowUpdata"
                            DataKeyNames="courseID" HorizontalAlign="Center" OnPageIndexChanging="Data_Page" Width="760px"  OnRowDataBound="RowDataBound" PageSize="8">
                            <HeaderStyle BackColor="Gold" Font-Bold="True" Font-Size="Small" />
                            <FooterStyle BackColor="Tan" />
                            <Columns>
                               
                                <asp:TemplateField HeaderText="�γ̺�" SortExpression="courseid">
                                    <EditItemTemplate>
                                        <asp:Label ID="Label3" runat="server" Text='<%# Eval("courseid") %>'></asp:Label>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:HyperLink ID="HyperLink1" runat="server" ImageUrl="~/Image/e.jpg" NavigateUrl='<%# Eval("courseid", "addcourse.aspx?id={0}") %>'
                                            Text="�༭"></asp:HyperLink>
                                        <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl='<%# Eval("courseid", "addcourse.aspx?id={0}") %>'
                                            Text='<%# Bind("courseid") %>'></asp:HyperLink>
                                        <asp:Label ID="Label3" runat="server" Text='<%# Bind("courseid") %>' Visible="false"></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="��ϸ����">
                                    <ItemTemplate>
                                        <asp:LinkButton ID="Linkbutton1" runat="server" OnClick="Linkbutton1_Click" Text='<%# Eval("coursename") %>'></asp:LinkButton>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="ѧ��">
                                    <EditItemTemplate>
                                        <asp:label ID="TextBox1" runat="server" Text='<%# Bind("studentid")%>'/>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="lblsid" runat="server" Text='<%# Bind("studentid") %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="ѧ������">
                                    <EditItemTemplate>
                                        <asp:label ID="sname" runat="server" Text='<%# Bind("studentname") %>'/>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="sname" runat="server" Text='<%# Bind("studentname") %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="�ɼ�">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="gradeTexBox" runat="server" Text='<%# Bind("grade") %>' Width="41px"></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="grade" runat="server" Text='<%# Bind("grade") %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="ѡ��">
                                    <ItemTemplate>
                                        <asp:CheckBox ID="chkSelect" runat="server" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                 
                                 <asp:CommandField HeaderText="�༭" ShowEditButton="True" CancelText="ȡ��" EditText="�༭" UpdateText="����" />
                              

                            </Columns>
                            <RowStyle Font-Size="Small" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#FFC0C0" BorderColor="#C0C0FF" />
                            <PagerStyle HorizontalAlign="Center" />
                            <PagerTemplate>
                                <table>
                                    <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>
                                            <asp:LinkButton ID="LinkButtonFirstPage" runat="server" CommandArgument="First" CommandName="Page"
                                                Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>" Font-Size="Small">��ҳ</asp:LinkButton></td>
                                        <td>
                                            <asp:LinkButton ID="LinkButtonPreviousPage" runat="server" CommandArgument="Prev"
                                                CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>"
                                                Font-Size="Small">��һҳ</asp:LinkButton></td>
                                        <td>
                                            <asp:LinkButton ID="LinkButtonNextPage" runat="server" CommandArgument="Next" CommandName="Page"
                                                Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>"
                                                Font-Size="Small">��һҳ</asp:LinkButton></td>
                                        <td>
                                            <asp:LinkButton ID="LinkButtonLastPage" runat="server" CommandArgument="Last" CommandName="Page"
                                                Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>"
                                                Font-Size="Small">βҳ</asp:LinkButton></td>
                                    </tr>
                                </table>
                            </PagerTemplate>
                            <AlternatingRowStyle BackColor="WhiteSmoke" />
                        </asp:GridView>
                    </td>
                    <td colspan="1" rowspan="1" style="width: 143px; height: 220px">
                    </td>
                </tr>
                <tr style="font-size: 12pt">
                    <td align="right" colspan="3" rowspan="2" style="width: 801px">
                        &nbsp;<asp:LinkButton ID="LinkButton3" runat="server" Font-Size="Small" OnClick="LinkButton3_Click">ɾ��</asp:LinkButton>
                        <asp:LinkButton ID="LinkButton2" runat="server" Font-Size="Small" OnClick="LinkButton2_Click">��ѡ</asp:LinkButton>
                        <asp:LinkButton ID="LinkButton1" runat="server" Font-Size="Small" OnClick="LinkButton1_Click">ȫѡ</asp:LinkButton>
                        <asp:LinkButton ID="LinkButton4" runat="server" Font-Size="Small" OnClick="LinkButton4_Click">ȡ��</asp:LinkButton></td>
                    <td align="right" colspan="1" rowspan="2" style="width: 143px">
                    </td>
                </tr>
                <tr style="font-size: 12pt">
                </tr>
                <tr style="font-size: 12pt">
                    <td colspan="3" rowspan="1" style="width: 801px; height: 10px">
                        <asp:Label ID="sms_lbl_note" runat="server" Text="......"></asp:Label>
                        <asp:Label ID="Label14" runat="server" Visible="False" Font-Size="Small"></asp:Label>
            <asp:TextBox ID="TextBox2" runat="server" Visible="False"></asp:TextBox></td>
                    <td colspan="1" rowspan="1" style="width: 143px; height: 10px">
                    </td>
                </tr>
          </table>    
    </div>
    </form>
</body>
</html>
关于我们 | 顾问团队 | 发展历程 | 联系我们 | 源码上传
联系电话(Tel):4008-010-151(免长途) 企业QQ:4000410510
地址:北京市海淀区中关村鼎好大厦A座二层 邮编:100080
Room A-801,Dinghao Building,Zhongguancun,Beijing,China,100080
51Aspx.com 版权所有 CopyRight © 2006-2015. 京ICP备09089570号 | 京公网安备11010702000869号
在线客服
分享该页面
关闭侧边栏