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

📄 departmentin.aspx

📁 asp.net 2.0的教务管理软件源码
💻 ASPX
字号:
<%@ Page Language="C#" MasterPageFile="~/style/MasterPage.master" AutoEventWireup="true"
    CodeFile="DepartmentIn.aspx.cs" Inherits="Personal_DepartmentIn" Title="修改部门班级信息 - 杰邦教学管理系统" %>

<%@ Register TagPrefix="JControls"  TagName="TypeList" Src="~/uctl/StandardChoice.ascx" %>
<%@ Register TagPrefix="DualList" Src="~/uctl/SC.ascx" TagName="DualList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="divChoice" style="z-index: 101; left: 400px; width: 58%; position: absolute;
        top: 1px; height: 252px">
        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
            <tr>
                <td class="titlebar" style="height: 24px">
                    该部门(班级)的课程
                </td>
            </tr>
            <tr>
                <td>
                </td>
            </tr>
        </table>
        <div style="z-index: 101; left: 11px; width: 100px; position: absolute; top: 30px;
            height: 100px">
            <DualList:DualList ID="DualList" runat="server" SourceName="可选任务"
                SqlProcedureName="p_ListDeCourse" TargetName="已选任务" />
        </div>
    </div>
    <div id="Div1" style="z-index: 102; left: 1px; width: 380px; position: absolute; top: 1px;
        height: 281px">
        <table style="width: 100%">
            <tr>
                <td class="titlebar">
                    <asp:Label ID="lblMessageResult" runat="server"></asp:Label></td>
            </tr>
        </table>
        <table style="width: 100%">
            <tr>
                <td align="right" style="width: 160px;">
                    *部门名称:</td>
                <td>
                    <asp:TextBox ID="txtName" runat="server" Width="150px" MaxLength="20"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtName"
                        ErrorMessage="请输入名称"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td align="right">
                    负责人:</td>
                <td>
                    <asp:TextBox ID="txtHeader" runat="server" Width="150px" ToolTip="请填写一位注册员工的姓名"></asp:TextBox></td>
            </tr>
            <tr>
                <td align="right">
                    简介:</td>
                <td>
                    <asp:TextBox ID="txtDescription" runat="server" Height="51px" TextMode="MultiLine"
                        Width="281px"></asp:TextBox></td>
            </tr>
            <tr>
                <td align="right">
                    电话:</td>
                <td>
                    <asp:TextBox ID="txtPhone" runat="server" Width="150px"></asp:TextBox>
                    <asp:CheckBox ID="chkIsTemp" runat="server" Text="教学集体" /></td>
            </tr>
            <tr>
                <td align="right">
                    上级:</td>
                <td>
                    <asp:DropDownList ID="ddlParent" runat="server" DataSourceID="SqlDataSource1"
                        DataTextField="theName" DataValueField="theID">
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <asp:Button ID="btnOK" runat="server" Text="保存修改" OnClick="btnOK_Click" ToolTip="保存已修改内容" />
                    <asp:Button ID="btnAddNew" runat="server" Text="新增部门" OnClick="btnAddNew_Click" CausesValidation="False" ToolTip="新增空白记录" />
                </td>
            </tr>
        </table>
    </div>
    <div style="z-index: 103; left: 422px; width: 326px; position: absolute; top: 271px;
        height: 49px">
        <asp:Label ID="lblErrMsg" runat="server" CssClass="ErrMsg"></asp:Label>&nbsp;<br />
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:keke100ConnectionString %>"
                        SelectCommand="p_ListAllDepartment" SelectCommandType="StoredProcedure">
                    </asp:SqlDataSource>
                </div>

</asp:Content>

⌨️ 快捷键说明

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