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

📄 a_experiments.aspx

📁 实验课预约系统。采用.net+access数据库实现。 管理员对学生教师有管理功能
💻 ASPX
字号:
<%@ Page Language="C#" MasterPageFile="~/Admin.master"  AutoEventWireup="true" CodeFile="A_Experiments.aspx.cs" Inherits="A_Experiments" Title="开放式实验室预约系统-实验项目管理"  %>

<%@ Register Assembly="devBiz.Web.UI" Namespace="devBiz.Web.UI.WebControls" TagPrefix="dbz" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
       <fieldset id="fsList" runat="server" style="text-align: left">
        <legend runat="server" id="legendList">实验列表</legend>
        <div align="left">
            <asp:Label ID="Label1" runat="server" Text="学期"></asp:Label>
            <asp:DropDownList ID="ddlTerm" runat="server" Width="133px" AutoPostBack="True" OnSelectedIndexChanged="ddlTerm_SelectedIndexChanged">
            </asp:DropDownList>&nbsp;&nbsp;&nbsp;
            
            <asp:Label ID="Label2" runat="server" Text="实验科目"></asp:Label>
            <asp:DropDownList ID="ddlCourse" runat="server" Width="116px" AutoPostBack="True" OnSelectedIndexChanged="ddlCourse_SelectedIndexChanged">
            </asp:DropDownList>&nbsp;&nbsp;&nbsp;
            
            
        </div>
        <div align="left">
        <asp:Button ID="btnNewBatch" runat="server" Text="新增" Width="100px" OnClick="btnNewBatch_Click"/></div>
        <asp:GridView ID="ExperimentsList" runat="server" OnPageIndexChanging="BatchList_PageIndexChanging" OnRowCommand="BatchList_RowCommand" OnRowCreated="BatchList_RowCreated" OnRowDataBound="BatchList_RowDataBound" OnSorting="BatchList_Sorting" AutoGenerateColumns="False" >
        <Columns>
            <asp:BoundField DataField="ID" HeaderText="ID">
                <ItemStyle Width="20px" />
            </asp:BoundField>
            <asp:ButtonField HeaderText="编辑" Text="编辑" CommandName="ExperimentEdit" ButtonType="Button" >
                <ItemStyle Width="40px" />
            </asp:ButtonField>
            <asp:BoundField DataField="CourseDetailName" HeaderText="实验项目名"/>
            <asp:BoundField HeaderText="实验科目" DataField="CourseName" />
            <asp:BoundField HeaderText="学期名" DataField="TermName" />
        </Columns>
    </asp:GridView>
    </fieldset>  
    <br />
    <fieldset id="fsItem" runat="server" style="text-align: left">
    <legend id="legendItem" runat="server">Edit</legend>
        
        <table id="Table1" cellpadding="0" cellspacing="0" width="80%" border="0" runat="server">
				<tr>
					<td style="width: 961px; height: 24px">
                        实验项目名</td>
					<td style="width: 501px; height: 24px; text-align: left;"> 
                        <asp:TextBox ID="tbxCourseDetailName" runat="server" Width="315px"></asp:TextBox><span style="color: red">* </span>
                     </td>
				</tr>
				<tr>
					<td style="width: 961px; height: 24px;">
                       学期
                     </td>
					<td style="width: 501px; text-align: left; height: 24px;">
                        <asp:DropDownList ID="ddlInputTerm" runat="server" Width="315px" OnSelectedIndexChanged="ddlInputTerm_SelectedIndexChanged" AutoPostBack="True">
                        </asp:DropDownList><span style="color: red">* </span>
                     </td>
				</tr>
				<tr>
					<td style="width: 961px; height: 24px">
                        实验科目</td>
					<td style="width: 501px; height: 24px; text-align: left;">
                        <dbz:EditableDropDown ID="eddCourseName" runat="server" Width="315px">
                        </dbz:EditableDropDown><span style="color: red">* </span>
					</td>
				</tr>
				
				
				
				
				<tr>
					<td colspan="2" align="center" style="height: 24px; text-align: left">
                        <asp:Label ID="lbMsg" runat="server" ForeColor="Red" Text="Label"></asp:Label><br />
                        <asp:Button id="btn_Save" runat="server" Text=" 保存 " CssClass="button" ToolTip="保存当前用户的更改" Width="100px" OnClick="btn_Save_Click"></asp:Button><asp:Button id="btnDel" runat="server" Text=" 删除 " CssClass="button" ToolTip="删除当前记录" OnClick="btnDel_Click"></asp:Button>
                        <asp:TextBox ID="tbxKeyID" runat="server" Visible="false" Width="89px">-1</asp:TextBox></td>
				</tr>
			</table>
        </fieldset> 
       
</asp:Content>


⌨️ 快捷键说明

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