<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Admin_Room.aspx.vb" Inherits="SchoolJw.Admin_Room"%>
<HTML>
	<HEAD>
		<title>教室管理</title>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<script language="javascript" src="js/0451skyRoom.js"></script>
		<LINK href="Style/01/Public.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<table class="Menu1Table" cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
				<tr>
					<td>
						<table cellSpacing="0" cellPadding="0" width="100%" border="0">
							<tr>
								<td class="Menu1Left">&nbsp;</td>
								<td class="Menu1Center">
									<table cellSpacing="0" cellPadding="0" width="100%" border="0">
										<tr>
											<td class="Menu1IMG" noWrap>&nbsp;</td>
											<td class="Menu1Font">教室管理</td>
											<td noWrap>&nbsp;</td>
										</tr>
									</table>
								</td>
								<td class="Menu1Right">&nbsp;</td>
							</tr>
						</table>
						<table class="Menu1Foot" cellSpacing="0" cellPadding="0" width="100%" border="0">
							<tr>
								<td class="Menu1Footbody">
									<table class="TableChange" cellSpacing="0" cellPadding="5" width="99%" align="center" border="0">
										<tr>
											<td vAlign="top" width="50%">
												<table class="Menu2Table" cellSpacing="0" cellPadding="0" width="100%" border="0">
													<tr>
														<td class="Menu2Td">
															<table cellSpacing="1" cellPadding="0" width="100%" align="center" border="0">
																<tr>
																	<td>
																		<table class="MeNewTableLine" cellSpacing="1" cellPadding="0" width="100%" border="0">
																			<tr>
																				<td class="Menu3Table">教室增加</td>
																			</tr>
																			<tr>
																				<td class="MeNewTDLine">
																					<table class="MeNewTableLine" cellSpacing="1" cellPadding="0" width="100%" border="0">
																						<tr class="MeNewTDLine" align="center">
																							<td width="28%">教室名称</td>
																							<td align="left" width="72%"><asp:textbox id="TxtTerm1" runat="server">教学楼201</asp:textbox></td>
																						</tr>
																						<tr class="MeNewTDLine" align="center">
																							<td>显示顺序</td>
																							<td align="left"><asp:textbox id="TxtShowID1" runat="server" Width="50px">1</asp:textbox></td>
																						</tr>
																						<tr class="MeNewTDLine" align="center">
																							<td>教室容量</td>
																							<td align="left"><asp:textbox id="TxtDID1" runat="server" Width="50px" MaxLength="2">30</asp:textbox>&nbsp;</td>
																						</tr>
																						<tr class="MeNewTDLine" align="center">
																							<td>备注信息</td>
																							<td align="left"><asp:textbox id="TxtNote1" runat="server" Width="222px" TextMode="MultiLine">教室位置备注</asp:textbox></td>
																						</tr>
																						<tr class="MeNewTDLine" align="center">
																							<td colSpan="2"><asp:button id="Btn1" runat="server" Text="确认增加"></asp:button>&nbsp;</td>
																						</tr>
																					</table>
																				</td>
																			</tr>
																		</table>
																	</td>
																	<td>
																		<table class="MeNewTableLine" cellSpacing="1" cellPadding="0" width="100%" border="0">
																			<tr>
																				<td class="Menu3Table">教室修改</td>
																			</tr>
																			<tr>
																				<td class="MeNewTDLine">
																					<table class="MeNewTableLine" cellSpacing="1" cellPadding="0" width="100%" border="0">
																						<tr class="MeNewTDLine" align="center">
																							<td width="28%">教室名称</td>
																							<td align="left" width="72%"><asp:textbox id="TxtTerm2" runat="server"></asp:textbox></td>
																						</tr>
																						<tr class="MeNewTDLine" align="center">
																							<td>显示顺序</td>
																							<td align="left"><asp:textbox id="TxtShowID2" runat="server" Width="50px"></asp:textbox></td>
																						</tr>
																						<tr class="MeNewTDLine" align="center">
																							<td>教室容量</td>
																							<td align="left"><asp:textbox id="TxtDID2" runat="server" Width="50px" MaxLength="2"></asp:textbox></td>
																						</tr>
																						<tr class="MeNewTDLine" align="center">
																							<td>备注信息</td>
																							<td align="left"><asp:textbox id="TxtNote2" runat="server" Width="222px" TextMode="MultiLine"></asp:textbox></td>
																						</tr>
																						<tr class="MeNewTDLine" align="center">
																							<td colSpan="2"><asp:button id="Btn2" runat="server" Text="确认修改" ToolTip="请在教室列表中选择要修改的教室,后才能修改!" Enabled="False"></asp:button>&nbsp;</td>
																						</tr>
																					</table>
																				</td>
																			</tr>
																		</table>
																	</td>
																</tr>
															</table>
															<br>
															<table class="MeNewTableLine" cellSpacing="1" cellPadding="0" width="100%" align="center"
																border="0">
																<tr>
																	<td class="MeNewTDLine" vAlign="top">
																		<table cellSpacing="0" cellPadding="0" width="100%" border="0">
																			<tr>
																				<td vAlign="top">
																					<table class="MeNewTableLine" cellSpacing="1" cellPadding="0" width="100%" align="left"
																						border="0">
																						<tr>
																							<td class="Menu3Table" vAlign="middle" align="left">教室设置列表</td>
																						</tr>
																						<tr>
																							<td class="MeNewTDLine" vAlign="top"><asp:datagrid id="DataArtList" runat="server" Width="95%" CellSpacing="1" GridLines="None" BorderStyle="None"
																									CellPadding="1" HorizontalAlign="Center" CssClass="MeNewTableLine" AutoGenerateColumns="False">
																									<ItemStyle HorizontalAlign="Center" CssClass="MeNewTDLine"></ItemStyle>
																									<HeaderStyle HorizontalAlign="Center" CssClass="MeNewTDtopLine"></HeaderStyle>
																									<Columns>
																										<asp:BoundColumn DataField="ID" HeaderText="ID"></asp:BoundColumn>
																										<asp:TemplateColumn HeaderText="选择">
																											<ItemTemplate>
																												<asp:CheckBox id="ChkSelect" runat="server" Text="" ToolTip='<%# DataBinder.Eval(Container, "DataItem.ID") %>'>
																												</asp:CheckBox>
																											</ItemTemplate>
																										</asp:TemplateColumn>
																										<asp:BoundColumn DataField="RoomNum" HeaderText="教室容量"></asp:BoundColumn>
																										<asp:BoundColumn DataField="RoomName" HeaderText="教室名称"></asp:BoundColumn>
																										<asp:BoundColumn DataField="ShowID" HeaderText="显示顺序"></asp:BoundColumn>
																										<asp:BoundColumn DataField="SkyDate" HeaderText="时间" DataFormatString="{0:D}"></asp:BoundColumn>
																										<asp:ButtonColumn Text="修改" HeaderText="修改" CommandName="Modify"></asp:ButtonColumn>
																										<asp:BoundColumn Visible="False" DataField="RoomNote"></asp:BoundColumn>
																									</Columns>
																									<PagerStyle Visible="False"></PagerStyle>
																								</asp:datagrid></td>
																						</tr>
																						<tr>
																							<td class="MeNewTDLine" vAlign="middle" align="right">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
																								<asp:literal id="LiteralFY" runat="server"></asp:literal>&nbsp;</td>
																						</tr>
																						<tr>
																							<td class="MeNewTDLine" vAlign="middle" align="center"><input class="XcBtn" onClick="SelectAll();" type="button" value="全部选择" name="Submit">
																								<input class="XcBtn" onClick="SelectFX();" type="button" value="反向选择" name="Submit2">
																								<asp:button id="BtnDel" runat="server" Text="删除选中" CssClass="xcbtn"></asp:button></td>
																						</tr>
																					</table>
																				</td>
																			</tr>
																		</table>
																	</td>
																</tr>
															</table>
															<br>
															<table cellSpacing="1" cellPadding="0" width="100%" align="center" border="0">
																<tr>
																	<td>
																		<table class="MeNewTableLine" cellSpacing="1" cellPadding="0" width="100%" border="0">
																			<tr class="MeNewTDLine" align="center">
																				<td colSpan="2" align="left" class="Menu3Table">帮助说明</td>
																			</tr>
																			<tr class="MeNewTDLine" align="center">
																				<td class="MeNewTDLine" align="left" colSpan="2">1、请在<strong>教室增加</strong>处增加教室，和显示顺序<br>
																					2、请在<strong>教室设置列表</strong>中选择要修改的项目，然后在<strong>教室修改</strong>处修改教室的信息<br>
																					3、教室为了生成课程开课地点和自动排课等使用，请准确填写；</td>
																			</tr>
																		</table>
																	</td>
																</tr>
															</table>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
			<asp:Literal id="LiteralScript" runat="server" EnableViewState="False"></asp:Literal></form>
	</body>
</HTML>
