classcourse.ascx

来自「asp.net 2.0的教务管理软件源码」· ASCX 代码 · 共 42 行

ASCX
42
字号
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ClassCourse.ascx.cs" Inherits="uctl_ClassCourse" %>
&nbsp;
<div id="divList" style="z-index: 103; left: 1px; width: 200px; position: absolute;
    top: 1px; height: 200px">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td class="titlebar" style="height: 24px">
                <asp:Label ID="lblTreeName" runat="server" Text="班级列表"></asp:Label></td>
        </tr>
    </table>
    <asp:ListBox ID="lstClass" runat="server" AutoPostBack="True" DataSourceID="SqlDataSource1"
        DataTextField="theName" DataValueField="theID" Height="214px" OnSelectedIndexChanged="lstClass_SelectedIndexChanged"
        Rows="16" Width="100%"></asp:ListBox>
</div>
<div id="divList2" style="border-top-width: 1px; border-left-width: 1px; z-index: 104;
    border-left-color: purple; left: 1px; border-bottom-width: 1px; border-bottom-color: purple;
    width: 200px; border-top-color: purple; position: absolute; top: 240px; height: 249px;
    border-right-width: 1px; border-right-color: purple">
    <table style="width: 100%">
        <tr> 
            <td class="titlebar">
               课程表 
                     </td>
        </tr>
    </table>
    <asp:ListBox ID="lstCourse" runat="server" AutoPostBack="True" DataSourceID="SqlDataSource2"
        DataTextField="theName" DataValueField="theID" Height="234px" OnSelectedIndexChanged="lstCourse_SelectedIndexChanged"
        Rows="11" Width="100%"></asp:ListBox></div>
        <div style="z-index:200;position:absolute; left: 8px; top: 503px; height: 29px;">
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:keke100ConnectionString %>"
            SelectCommand="p_ListMyDutyClass" SelectCommandType="StoredProcedure">
            <SelectParameters>
                <asp:SessionParameter Name="EmployeeID" SessionField="LoginID" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
        <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:keke100ConnectionString %>"
            SelectCommand="p_ListAllMyDutyDeCourse" SelectCommandType="StoredProcedure">
            <SelectParameters>
                <asp:Parameter Name="de_ID" Type="Int32" />
                <asp:Parameter Name="EmployeeID" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource></div>

⌨️ 快捷键说明

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