?? otherspchoosecourse.aspx
字號:
<%@ Page Language="C#" MasterPageFile="~/Student/StudentMasterPage.master" AutoEventWireup="true" CodeFile="OtherSPChooseCourse.aspx.cs" Inherits="Student_OtherSPChooseCourse" Title="現(xiàn)代教務(wù)管理系統(tǒng)" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script language="javascript" type="text/javascript">
// <!CDATA[
function btnCancel_onclick() {
location.replace('Default.aspx');
}
function ourSpChoose_onclick() {
location.replace('ChooseCourse.aspx');
}
function otherSpChoose_onclick() {
location.replace('OtherSPChooseCourse.aspx');
}
// ]]>
</script>
<table style="border-right: #99ccff 0.1em solid; border-left: #99ccff 0.1em solid;
width: 100%; margin-top:-3px; height: 100%">
<tr>
<td colspan="3" style="background-image: url(Images/main_top_bg.gif); width: 929px;
height: 13px; font-size:12px">
<asp:Image ID="Image1" runat="server" Height="14px" ImageUrl="~/Student/Images/main_top_1.gif"
Width="14px" />
學(xué)生選課<asp:Label ID="lblTime" runat="server" Text="Label" Width="466px"></asp:Label></td>
</tr>
<tr>
<td colspan="3" style="border-right: #99ccff 0.1em solid; border-top: #99ccff 0.1em solid;
vertical-align: top; border-left: #99ccff 0.1em solid; width: 929px; border-bottom: #99ccff 0.1em solid;
height: 435px; text-align: left">
<table style="border-right: #99ccff 1px solid; border-top: #99ccff 1px solid;
border-left: #99ccff 1px solid; border-bottom: #99ccff 1px solid; margin-left:0px; margin-right:0px;
height: 180px; width:107%">
<tr>
<td colspan="6" style="border-right: #99ccff 0.1em solid; border-top: #99ccff 0.1em solid;
border-left: #99ccff 0.1em solid; border-bottom: #99ccff 0.1em solid;
height: 21px; text-align: left; width: 100%;">
<asp:Label ID="lblTitle" runat="server" Text="Label" Width="658px"></asp:Label></td>
</tr>
<tr>
<td colspan="6" style="border-right: #99ccff 0.1em solid; border-top: #99ccff 0.1em solid;
border-left: #99ccff 0.1em solid; width: 100%; border-bottom: #99ccff 0.1em solid;
height: 21px; text-align: left">
<asp:DropDownList ID="ddlCollege" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlCollege_SelectedIndexChanged" Width="238px" OnDataBinding="ddlCollege_DataBinding">
</asp:DropDownList>
<asp:DropDownList ID="ddlSp" runat="server" AutoPostBack="True" Width="256px" OnDataBinding="ddlSp_DataBinding">
</asp:DropDownList>
<asp:Button ID="viewCourse" runat="server" OnClick="viewCourse_Click" Text="查看課程" /></td>
</tr>
<tr>
<td colspan="6" rowspan="2" style="border-right: #99ccff 0.1em solid; border-top: #99ccff 0.1em solid;
border-left: #99ccff 0.1em solid; border-bottom: #99ccff 0.1em solid; height: 335px; width: 100%;" align="center" valign="top">
<asp:GridView ID="gv_ChooseClassTb" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None"
Width="100%" AutoGenerateColumns="False" Font-Size="13px" Font-Names="tahoma,arial" PageSize="15" OnRowCommand="gv_ChooseClassTb_RowCommand" DataKeyNames="pc_id,te_id">
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<EmptyDataRowStyle Height="20px" />
<RowStyle BackColor="#EFF3FB" Font-Size="12px" />
<EditRowStyle BackColor="#2461BF" Height="20px" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="SkyBlue" Font-Bold="True" ForeColor="White" Font-Size="12px" Height="12px" />
<AlternatingRowStyle BackColor="White" />
<Columns>
<asp:BoundField DataField="cb_id" HeaderText="課程代碼" />
<asp:BoundField DataField="cb_name" HeaderText="課程名稱" />
<asp:BoundField DataField="cb_credithour" HeaderText="學(xué)時" />
<asp:BoundField DataField="ct_type" HeaderText="課程類型" />
<asp:BoundField DataField="te_name" HeaderText="上課老師" />
<asp:BoundField DataField="pc_classtime" HeaderText="上課時間" />
<asp:BoundField DataField="pc_personcount" HeaderText="限選人數(shù)" />
<asp:TemplateField HeaderText="狀 態(tài)">
<ItemTemplate>
<asp:Label ID="lblStatus" runat="server" Text='<%# GetChooseStstue()%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:LinkButton ID="lbtnOperate" runat="server" CommandArgument='<%#Eval("pc_id")%>' Text='<%# SetCommandText()%>' CommandName='<%# SetCommandName()%>' OnClick="lbtnOperate_Click"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</td>
</tr>
<tr>
</tr>
<tr>
<td colspan="6" style="border-right: #99ccff 0.1em solid; border-top: #99ccff 0.1em solid;
border-left: #99ccff 0.1em solid; border-bottom: #99ccff 0.1em solid; height: 15px;
text-align: center; width: 100%;">
<input id="ourSpChoose" type="button" value="本專業(yè)選課" onserverclick="ourSpChoose_ServerClick" onclick="return ourSpChoose_onclick()" />
<input id="otherSpChoose" type="button" value="跨專業(yè)選課" onserverclick="otherSpChoose_ServerClick" onclick="return otherSpChoose_onclick()" /> <input id="btnCancel" type="button" value="退出選課" onclick="return btnCancel_onclick()" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="right" colspan="3" style="border-right: #99ccff 0.1em solid; border-top: #99ccff 0.1em solid;
background-image: url(Images/bottom_bg.gif); border-left: #99ccff 0.1em solid;
width: 100%; border-bottom: #99ccff 0.1em solid; height: 25px; text-align: right"
valign="middle">
power by yuhong
</td>
</tr>
</table>
</asp:Content>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -