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

📄 addmovement.aspx

📁 这是一个自动排课软件(包含源码,需求分析,详细设计).希望对你有所帮助.
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddMovement.aspx.cs" Inherits="CourseManage_AddMovement" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<!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>
    <base target=_self />

</head>
<body class="model">
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <br />
        <table align=center>
            <tr>
                <td >
                    <asp:Label ID="Label1" runat="server" Text="活动名称" Font-Size="9pt"></asp:Label></td>
                <td style="width: 296px" >
                    <asp:DropDownList ID="DropDownList1" runat="server" Width="189px" DataSourceID="ObjectDataSource1" DataTextField="MovementName" DataValueField="MovementID" Font-Size="9pt">
                    </asp:DropDownList><asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="Select"
                        TypeName="BLL.BMovement"></asp:ObjectDataSource>
                </td>
            </tr>
            <tr>
                <td >
                    <asp:Label ID="Label2" runat="server" Text="授课日期" Font-Size="9pt"></asp:Label></td>
                <td style="width: 296px" >
                    <asp:TextBox ID="TextBox1" runat="server" Width="102px" Font-Size="9pt"></asp:TextBox>
                    <asp:Button ID="Button1" runat="server" Text="..." />
                    <asp:Label ID="Label5" runat="server" Text="时" Font-Size="9pt"></asp:Label>
                    <asp:DropDownList ID="DropDownList2" runat="server" Font-Size="9pt">
                        <asp:ListItem>8</asp:ListItem>
                        <asp:ListItem>9</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
                        <asp:ListItem>13</asp:ListItem>
                        <asp:ListItem>14</asp:ListItem>
                        <asp:ListItem>15</asp:ListItem>
                        <asp:ListItem>16</asp:ListItem>
                        <asp:ListItem>17</asp:ListItem>
                    </asp:DropDownList>
                    <asp:Label ID="Label6" runat="server" Text="分" Font-Size="9pt"></asp:Label>
                    <asp:DropDownList ID="DropDownList3" runat="server" Font-Size="9pt">
                        <asp:ListItem>00</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>15</asp:ListItem>
                        <asp:ListItem>20</asp:ListItem>
                        <asp:ListItem>30</asp:ListItem>
                        <asp:ListItem>40</asp:ListItem>
                        <asp:ListItem>45</asp:ListItem>
                        <asp:ListItem>50</asp:ListItem>
                    </asp:DropDownList>
                    <cc1:calendarextender id="CalendarExtender1" runat="server" popupbuttonid="Button1"
                        targetcontrolid="TextBox1"></cc1:calendarextender>
                </td>
            </tr>
            
            <tr>
                <td valign="top" style="height: 141px">
                    <asp:Label ID="Label3" runat="server" Text="参加人" Font-Size="9pt"></asp:Label></td>
                <td style="width: 296px; height: 141px;" valign="top" >
                    <table width="100%">
                        <tr>
                            <td style="height: 133px" valign="top">
                            <div style="background-color:White;width:100%;height:100%;overflow:auto">
                                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="ObjectDataSource2"
                                    Width="268px" DataKeyNames="EmployeeID" Font-Size="9pt">
                                    <Columns>
                                        <asp:TemplateField HeaderText="选择">
                                            <ItemTemplate>
                                                <asp:CheckBox ID="CheckBox1" runat="server" Text="选择" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="EmployeeName" HeaderText="姓名" />
                                        <asp:TemplateField HeaderText="部门">
                                            <ItemTemplate>
                                                <asp:Label ID="Label7" runat="server" Text='<%# Eval("Department.DepartmentName") %>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                                    <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
    <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
    <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
    <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
    <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" CssClass="gridheader" />
    <AlternatingRowStyle BackColor="#F7F7F7" />
                                </asp:GridView>
                                <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" SelectMethod="Select"
                                    TypeName="BLL.BEmployee"></asp:ObjectDataSource>
                                    </div>
                            </td>
                        </tr>  
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan=2 align=center style="height: 37px" valign="bottom" >
                    <asp:Button ID="Button4" runat="server" Text="确定" OnClick="Button4_Click" Font-Size="9pt" />
                    &nbsp;
                    <asp:Button ID="Button5" runat="server" Text="取消" OnClick="Button5_Click" Font-Size="9pt" /></td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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