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

📄 add_m4.aspx

📁 一个研究生管理系统 具体的情况自己看了
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="add_m4.aspx.cs" Inherits="manger_add_m4" %>

<!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>
     <style>
TD.mode4 {
	BACKGROUND-COLOR: #eeeee0; BORDER-BOTTOM: #cccc99 1px solid; BORDER-LEFT: #ffffff 1px solid; BORDER-RIGHT: #cccc99 1px solid; BORDER-TOP: #ffffff 1px solid; HEIGHT: 23px
}
.m2_1 {
	FONT-FAMILY: 宋体; FONT-SIZE: 14px; FONT-WEIGHT: bold
}
TD.mode5 {
	BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #cccccc 1px solid; BORDER-LEFT: #ffffff 1px solid; BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #ffffff 1px solid; HEIGHT: 23px
}
TD.Bartitle1 {
	BACKGROUND-COLOR: #cccc99; BORDER-BOTTOM: #000033 1px solid; BORDER-LEFT: #ffffcc 1px solid; BORDER-RIGHT: #000033 1px solid; BORDER-TOP: #ffffcc 1px solid; COLOR: #000000; PADDING-BOTTOM: 0px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 0px
}
TD.Bartitle2 {
	BACKGROUND-COLOR: #4065B1; BORDER-BOTTOM: #000033 1px solid; BORDER-LEFT: #669999 1px solid; BORDER-RIGHT: #000033 1px solid; BORDER-TOP: #669999 1px solid; COLOR: #ffffff; PADDING-BOTTOM: 0px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 0px
}

</style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div style="text-align: center">

            <script>
		function check(){
			if (form1.reportTitle.value==""){
				alert("学术报告标题不能为空!");
				form1.reportTitle.focus();
				return false;
			}
			if (form1.reporter.value==""){
				alert("报告人不能为空!");
				form1.reporter.focus();
				return false;
			}
			if (form1.reporterTitle.value==""){
				alert("报告人职称不能为空!");
				form1.reporterTitle.focus();
				return false;
			}
			if (form1.reportAddr.value==""){
				alert("地点不能为空!");
				form1.reportAddr.focus();
				return false;
			}			
			if (form1.reportDate.value==""){
				alert("时间不能为空!");
				form1.reportDate.focus();
				return false;
			}
			if (form1.reportDate.value.length!=8&&form1.reportDate.value.length!=10){
				alert("时间格式不对,请参考时间格式说明!");
				form1.reportDate.focus();
				return false;
			}
		}


            </script>

            <table border="0" cellpadding="0" cellspacing="0" width="700">
                <tr>
                    <td align="center" class="Bartitle2" colspan="11" height="30">
                        <font class="m2_1"><strong style="font-size: medium"><span style="font-size: 13pt;
                            font-family: 宋体">参加活动学生名单</span></strong></font></td>
                </tr>
                <tr style="font-size: 13pt; font-family: 宋体">
                    <td align="center" class="mode4" height="35" style="width: 261px">
                        活动名称</td>
                    <td align="center" class="mode4" style="width: 249px">
                        参加学生</td>
                    <td align="center" class="mode4">
                        操作</td>
                </tr>
                <%
            print();
                %>
            </table>
            <asp:Label ID="page_1" runat="server" Text="当前第1页"></asp:Label><strong> </strong>
            <asp:Label ID="page_all" runat="server" Text="共0页"></asp:Label><strong>&nbsp;<%
        print1();
            %><br />
                <br />
            </strong>
            <br />
            <br />
            <table id="tab1" align="center" border="0" cellpadding="0" cellspacing="0" style="font-family: Times New Roman"
                width="700">
                <tr>
                    <td align="center" class="Bartitle2" colspan="2" height="30">
                        <font class="m2_1" style="font-size: medium"><strong>添加听报告</strong>学生名单</font></td>
                </tr>
                <tr>
                    <td align="center" class="Bartitle2" style="height: 78px" width="5%">
                        <b>基<br />
                            本<br />
                            信<br />
                            息</b></td>
                    <td align="left" width="95%">
                        <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <td align="right" class="mode4" style="font-size: small; height: 23px" valign="middle"
                                    width="32%">
                                    活动题目:</td>
                                <td align="left" class="mode5" colspan="3" style="height: 23px" valign="middle" width="68%">
                                    &nbsp;<asp:DropDownList ID="ReportList" runat="server" AppendDataBoundItems="True"
                                        Width="218px">
                                        <asp:ListItem Value="-1">请选择活动名称</asp:ListItem>
                                    </asp:DropDownList></td>
                            </tr>
                            <tr>
                                <td align="right" class="mode4" style="font-size: small; height: 23px" valign="middle">
                                    参加人学号:</td>
                                <td align="left" class="mode5" colspan="3" style="height: 23px" valign="middle">
                                    &nbsp;<asp:TextBox ID="number" runat="server" ToolTip="20044444,20044441,20044442"
                                        Width="440px"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td align="right" class="mode4" style="font-size: small; height: 23px" valign="middle">
                                    备 注:</td>
                                <td align="left" class="mode5" colspan="3" style="height: 23px" valign="middle">
                                    <asp:TextBox ID="remark" runat="server" Width="440px"></asp:TextBox></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <img height="6" src="../../images/blank.gif" /></td>
                </tr>
            </table>
            <p style="text-align: center">
                <asp:Button ID="button" runat="server" OnClick="Button1_Click1" Text="添加" />&nbsp;</p>
        </div>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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