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

📄 specialitysetting.aspx

📁 c#开发宝典 光盘内容。本光盘主要为书中的源程序
💻 ASPX
字号:
<%@ Register TagPrefix="StudentsMIS" TagName="FooterControl" Src="/Controls/FooterControl.ascx" %>
<%@ Register TagPrefix="StudentsMIS" TagName="MenuControl" Src="/Controls/MenuControl.ascx" %>
<%@ Page language="c#" Inherits="StudentsMIS.Web.OrganizationSettings.SpecialitySetting" CodeFile="SpecialitySetting.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">
    <LINK href="/StyleSheets/StyleSheet.css" type="text/css" rel="stylesheet">
  </HEAD>
  <body>
    <form id="Form1" method="post" runat="server">
      <StudentsMIS:MenuControl id="MenuControl1" runat="server" SubOperation="专业设置" Operation="组织机构设置"></StudentsMIS:MenuControl>
      <table style="BORDER-RIGHT: #0c5280 1px solid; BORDER-LEFT: #629dc5 1px solid; BORDER-BOTTOM: #0c5280 1px solid"
        height="495" cellSpacing="0" cellPadding="0" width="99%" align="center" bgColor="#4791c5"
        border="0">
        <tr>
          <td width="1%"></td>
          <td vAlign="top" width="98%" bgColor="#7fb7e1" height="483">
            <table cellSpacing="0" cellPadding="0" border="0">
              <tr>
                <td width="15" height="15" rowSpan="5"></td>
                <td height="20"></td>
              </tr>
              <tr>
                <td height="30">
                  编号:<asp:dropdownlist id="ddListColleges" runat="server" AutoPostBack="True" onselectedindexchanged="ddListColleges_SelectedIndexChanged"></asp:dropdownlist>&nbsp;-
                  <asp:textbox id="txtSpecialityID" runat="server" Columns="2" MaxLength="3"></asp:textbox>(后两位)&nbsp;
                  专业名称:<asp:textbox id="txtSpecialityName" runat="server" MaxLength="15"></asp:textbox>&nbsp;
                  <asp:button id="btnAddSpeciality" runat="server" Text="添加专业" onclick="btnAddSpeciality_Click"></asp:button></td>
              </tr>
              <tr>
                <td height="10"></td>
              </tr>
              <tr>
                <td><asp:datagrid id="dataGridSpeciality" runat="server" AutoGenerateColumns="False" BorderStyle="None"
                    GridLines="Horizontal" BorderColor="#E8E6EB" BackColor="White">
                    <FooterStyle BackColor="Silver"></FooterStyle>
                    <SelectedItemStyle BackColor="LightGreen"></SelectedItemStyle>
                    <EditItemStyle Height="25px"></EditItemStyle>
                    <AlternatingItemStyle Height="25px" BorderColor="#5F9FD4"></AlternatingItemStyle>
                    <ItemStyle Height="25px"></ItemStyle>
                    <HeaderStyle Font-Bold="True" HorizontalAlign="Center" Height="28px" BackColor="#E8E6EB"></HeaderStyle>
                    <Columns>
                      <asp:BoundColumn DataField="speciality_ID" ReadOnly="True" HeaderText="专业编号">
                        <HeaderStyle HorizontalAlign="Center" Width="60px"></HeaderStyle>
                        <ItemStyle Font-Names="Arial" Wrap="False" HorizontalAlign="Center" BackColor="LightYellow"></ItemStyle>
                      </asp:BoundColumn>
                      <asp:BoundColumn DataField="college_name" ReadOnly="True" HeaderText="所属学院">
                        <HeaderStyle HorizontalAlign="Center" Width="150px"></HeaderStyle>
                        <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
                      </asp:BoundColumn>
                      <asp:BoundColumn DataField="speciality_name" HeaderText="专业名称">
                        <HeaderStyle Width="200px"></HeaderStyle>
                        <ItemStyle Wrap="False" HorizontalAlign="Center" BackColor="LightYellow"></ItemStyle>
                      </asp:BoundColumn>
                      <asp:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" HeaderText="编辑" CancelText="取消" EditText="编辑">
                        <HeaderStyle HorizontalAlign="Center" Width="50px"></HeaderStyle>
                        <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
                      </asp:EditCommandColumn>
                      <asp:ButtonColumn Text="删除" HeaderText="删除" CommandName="Delete">
                        <HeaderStyle HorizontalAlign="Center" Width="50px"></HeaderStyle>
                        <ItemStyle Wrap="False" HorizontalAlign="Center" BackColor="LightYellow"></ItemStyle>
                      </asp:ButtonColumn>
                    </Columns>
                  </asp:datagrid></td>
              </tr>
            </table>
          </td>
          <td width="1%"></td>
        </tr>
        <tr>
          <td height="12"></td>
        </tr>
      </table>
      <StudentsMIS:FooterControl id="FooterControl1" runat="server"></StudentsMIS:FooterControl></form>
  </body>
</HTML>

⌨️ 快捷键说明

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