📄 exerciselogin.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="exerciselogin.aspx.cs" Inherits="Students_exerciselogin" %>
<!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>
<script type="text/javascript">
function ifSelect()
{
var lbExam = document.getElementById("lbExam");
if(lbExam.selectedIndex < 0)
{
window.alert("请选择一份练习卷!");
return false;
}
}
</script>
</head>
<body style="text-align:center; vertical-align:middle">
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
在线练习--选择练习卷
<hr />
<table width="700px" style="border-right: buttonface thin solid; border-top: buttonface thin solid; border-left: buttonface thin solid; border-bottom: buttonface thin solid">
<tr>
<td style="width: 250px" align="left">科目选择:</td>
<td colspan="2" align="left" style="width:350px" >试卷选择:</td>
</tr>
<tr>
<td style="width: 250px; border-right: buttonface thin solid; border-top: buttonface thin solid; border-left: buttonface thin solid; border-bottom: buttonface thin solid;" align="left">
<asp:ListBox ID="lbCourse" runat="server" Width="250px" Height="400px" OnSelectedIndexChanged="lbCourse_SelectedIndexChanged" AutoPostBack="True"></asp:ListBox></td>
<td style="width: 350px; border-right: buttonface thin solid; border-top: buttonface thin solid; border-left: buttonface thin solid; border-bottom: buttonface thin solid;" align="left">
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:ListBox ID="lbExam" runat="server" Width="350px" Height="400px"></asp:ListBox>
</ContentTemplate>
</asp:UpdatePanel>
</td>
<td align="center" valign="top" style="border-right: buttonface thin solid; border-top: buttonface thin solid; border-left: buttonface thin solid; border-bottom: buttonface thin solid">
<br />
<asp:Button ID="btnSubmit" runat="server" Text="确定" Width="64px" OnClick="btnSubmit_Click" />
<br />
<br />
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Students/autoexercise.aspx">高级选项</asp:HyperLink></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -