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

📄 teacher_view.aspx

📁 vc.net编程实现的教师数据库管理系统的实现
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="teacher_view.aspx.cs" Inherits="teacher_teacher_view" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
      <link  href="../css/background.css" type="text/css" rel="stylesheet"/>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table width="758" height="275" border="0">
  <tr>
    <td height="21" colspan="5">&nbsp;</td>
  </tr>
  <tr>
  <td height="28" style="width: 62px">&nbsp;</td>
    <td style="width: 227px" align="right">
        所属部门&nbsp;<asp:DropDownList ID="DropDownList1" runat="server"
            Width="157px">
        </asp:DropDownList></td>
    <td width="195" align="center">
        姓名
        <asp:TextBox ID="TextBox1" runat="server" CssClass="textbox" Width="93px"></asp:TextBox></td>
    <td width="201">
        编号
        <asp:TextBox ID="TextBox2" runat="server" CssClass="textbox" Width="88px"></asp:TextBox>
        <asp:ImageButton ID="ImageButton1" runat="server" OnClick="ImageButton1_Click" /></td>
    <td width="59">&nbsp;</td>
  </tr>
  <tr>
    <td height="21" style="width: 62px">&nbsp;</td>
    <td style="width: 227px">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td colspan="5" style="height: 303px">&nbsp;
        <asp:DataGrid ID="DataGrid1" runat="server" AllowCustomPaging="True" AllowPaging="True"
            AutoGenerateColumns="False" BackColor="White" BorderColor="Black" BorderStyle="None"
            BorderWidth="1px" CellPadding="4" Height="20px" OnPageIndexChanged="DataGrid1_PageIndexChanged"  PageSize="7" Style="z-index: 101;
            left: 67px; position: absolute; top: 118px" Width="743px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Size="Small" Font-Strikeout="False" Font-Underline="False">
            <FooterStyle BackColor="#666699" ForeColor="#003399" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Size="Small" Font-Strikeout="False" Font-Underline="False" />
            <SelectedItemStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
            <PagerStyle BackColor="#336797" ForeColor="#FFFFFF" HorizontalAlign="Center" Mode="NumericPages"
                PageButtonCount="9" Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Size="Small" Font-Strikeout="False" Font-Underline="False" />
            <ItemStyle BackColor="#FFFFFF" ForeColor="#003399" Font-Bold="False" Font-Italic="False" Font-Names="宋体" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" />
            <HeaderStyle BackColor="#336797" Font-Bold="True" ForeColor="White" Font-Italic="False" Font-Overline="False" Font-Size="Small" Font-Strikeout="False" Font-Underline="False" />
            <Columns>
                <asp:BoundColumn DataField="教师编号" HeaderText="教师编号"></asp:BoundColumn>
                <asp:BoundColumn DataField="姓名" HeaderText="教师姓名"></asp:BoundColumn>
                <asp:BoundColumn DataField="所在单位" HeaderText="所属部门"></asp:BoundColumn>
                <asp:BoundColumn DataField="性别" HeaderText="性别"></asp:BoundColumn>
                <asp:BoundColumn DataField="党政职务" HeaderText="职务"></asp:BoundColumn>
                <asp:BoundColumn DataField="专业技术职务级别" HeaderText="技术级别"></asp:BoundColumn>
                <asp:BoundColumn DataField="学位" HeaderText="学位"></asp:BoundColumn>
                <asp:BoundColumn DataField="现从事专业" HeaderText="从事专业"></asp:BoundColumn>
                <asp:HyperLinkColumn DataNavigateUrlField="教师编号" DataNavigateUrlFormatString="teacher_detail.aspx?教师编号={0}"
                    HeaderText="详细信息" Target="_blank" Text="查看"></asp:HyperLinkColumn>
            </Columns>
        </asp:DataGrid>
    </td>
  </tr>
  <tr>
    <td colspan="5" style="height: 28px">&nbsp;<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
        <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label></td>
  </tr>
</table>
        </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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