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

📄 showexam.aspx

📁 用asp.net开发的考试系统
💻 ASPX
字号:
<%@ Page language="c#" Inherits="examonline.showexam" CodeFile="showexam.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>试卷预览</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<style>A{ COLOR: #00478e }
	A:visited { COLOR: #00478e }
	A:hover { COLOR: red }
	.m1 { PADDING-RIGHT: 20px; PADDING-LEFT: 20px; PADDING-BOTTOM: 10px }
		</style>
	</HEAD>
	<body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0">
		<FORM id="Form1" method="post" runat="server">
			<FONT face="宋体">
				<TABLE id="Table1" style="Z-INDEX: 101; POSITION: absolute" height="100%" cellSpacing="0"
					cellPadding="0" width="100%" border="0">
					<TBODY>
						<TR>
							<TD style="BACKGROUND-POSITION: right top; BACKGROUND-REPEAT: repeat-y" width="50%"
								background="images/bg1222.jpg" height="100%" rowSpan="10"></TD>
							<TD colSpan="2">
								<OBJECT codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
									height="148" width="780" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
									<PARAM NAME="_cx" VALUE="20638">
									<PARAM NAME="_cy" VALUE="3916">
									<PARAM NAME="FlashVars" VALUE="">
									<PARAM NAME="Movie" VALUE="054.swf">
									<PARAM NAME="Src" VALUE="054.swf">
									<PARAM NAME="WMode" VALUE="Window">
									<PARAM NAME="Play" VALUE="-1">
									<PARAM NAME="Loop" VALUE="-1">
									<PARAM NAME="Quality" VALUE="High">
									<PARAM NAME="SAlign" VALUE="">
									<PARAM NAME="Menu" VALUE="-1">
									<PARAM NAME="Base" VALUE="">
									<PARAM NAME="AllowScriptAccess" VALUE="">
									<PARAM NAME="Scale" VALUE="ShowAll">
									<PARAM NAME="DeviceFont" VALUE="0">
									<PARAM NAME="EmbedMovie" VALUE="0">
									<PARAM NAME="BGColor" VALUE="">
									<PARAM NAME="SWRemote" VALUE="">
									<PARAM NAME="MovieData" VALUE="">
									<PARAM NAME="SeamlessTabbing" VALUE="1">
									<PARAM NAME="Profile" VALUE="0">
									<PARAM NAME="ProfileAddress" VALUE="">
									<PARAM NAME="ProfilePort" VALUE="0">
									<PARAM NAME="AllowNetworking" VALUE="all">
									<PARAM NAME="AllowFullScreen" VALUE="false">
									<embed src="054.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
										type="application/x-shockwave-flash" width="780" height="148"> </embed>
								</OBJECT>
							</TD>
							<TD style="BACKGROUND-POSITION: left top; BACKGROUND-REPEAT: repeat-y" width="50%" background="images/bg1223.jpg"
								height="100%" rowSpan="10"></TD>
						</TR>
						<TR>
							<TD vAlign="top" align="center" colSpan="2" height="100%">
                                <asp:GridView ID="GridView1" runat="server" BackColor="White" BorderColor="#CC9966" BorderWidth="1px" CellPadding="4" Width="100%" AutoGenerateColumns="False" DataKeyNames="courseid" DataSourceID="SqlDataSource1" Height="162px" BorderStyle="None" OnRowDataBound="GridView1_RowDataBound">
                                    <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
                                    <SelectedRowStyle BackColor="#FFCC66" ForeColor="#663399" Font-Bold="True" />
                                    <PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
                                    <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
                                    <Columns>
                                        <asp:BoundField DataField="courseid" HeaderText="课程编号" ReadOnly="True" SortExpression="courseid" />
                                        <asp:HyperLinkField DataNavigateUrlFields="courseid" DataNavigateUrlFormatString="selectexam.aspx?courseid={0}"
                                            DataTextField="coursename" HeaderText="课程名称" />
                                        <asp:BoundField DataField="joindate" DataFormatString="{0:d}" HeaderText="加入时间" HtmlEncode="False"
                                            SortExpression="joindate" />
                                        <asp:BoundField DataField="teacher" HeaderText="课程老师" SortExpression="teacher" />
                                    </Columns>
                                    <RowStyle BackColor="White" ForeColor="#330099" />
                                  
                                </asp:GridView>
                                <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:kaoshixitongConnectionString %>"
                                    SelectCommand="SELECT * FROM [kecheng]"></asp:SqlDataSource>
                                &nbsp;</TD></TR>
			<TR>
				<TD vAlign="top" colSpan="2"><IMG height="39" alt="" src="images/copyright.gif" width="241" border="0"><IMG height="39" alt="" src="images/footer.gif" width="539" border="0"></TD>
			</TR>
			</TBODY></TABLE>
			</FONT></FORM>
	</body>
</HTML>

⌨️ 快捷键说明

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