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

📄 collegesetting.aspx

📁 C#2.0宝典源码,C#经典书籍,很多例子
💻 ASPX
字号:
<%@ Register TagPrefix="StudentsMIS" TagName="MenuControl" Src="/Controls/MenuControl.ascx" %>
<%@ Register TagPrefix="StudentsMIS" TagName="FooterControl" Src="/Controls/FooterControl.ascx" %>
<%@ Page language="c#" Inherits="StudentsMIS.Web.OrganizationSettings.CollegeSetting" CodeFile="CollegeSetting.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:TextBox id="txtCollegeID" runat="server" MaxLength="2" Columns="2"></asp:TextBox>&nbsp;
                  名称:<asp:textbox id="txtCollegeName" runat="server" MaxLength="15"></asp:textbox>&nbsp;
                  <asp:button id="btnCollegeAdd" runat="server" Text="添加学院" onclick="btnCollegeAdd_Click"></asp:button></td>
              </tr>
              <tr>
                <td height="10"></td>
              </tr>
              <tr>
                <td><asp:datagrid id="dataGridColleges" runat="server" BackColor="White" BorderColor="#E8E6EB" GridLines="Horizontal"
                    BorderStyle="None" AutoGenerateColumns="False">
                    <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="College_ID" ReadOnly="True" HeaderText="学院编号">
                        <HeaderStyle HorizontalAlign="Center" Width="60px"></HeaderStyle>
                        <ItemStyle Font-Names="Arial" HorizontalAlign="Center" BackColor="LightYellow"></ItemStyle>
                      </asp:BoundColumn>
                      <asp:BoundColumn DataField="College_Name" HeaderText="学院名称">
                        <HeaderStyle HorizontalAlign="Center" Width="150px"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                      </asp:BoundColumn>
                      <asp:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" HeaderText="编辑" CancelText="取消" EditText="编辑">
                        <HeaderStyle HorizontalAlign="Center" Width="50px"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center" BackColor="LightYellow"></ItemStyle>
                      </asp:EditCommandColumn>
                      <asp:ButtonColumn Text="删除" HeaderText="删除" CommandName="Delete">
                        <HeaderStyle HorizontalAlign="Center" Width="50px"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></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 + -