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

📄 editteacher.aspx

📁 程序学生信息管理系统(SQL2000+ASP.NET+c#+)
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EditTeacher.aspx.cs" Inherits="Default2" Culture="auto" meta:resourcekey="PageResource2" UICulture="auto" %>

<!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>
<script language="javascript" type="text/javascript">
// <!CDATA[

function TABLE1_onclick() {

}

// ]]>
</script>

    <link rel="stylesheet" type="text/css" />
    <link href="StyleSheet.css" rel="stylesheet" type="text/css" />
</head> 


<body background="Img/bg.gif" bgproperties="fixed" bottommargin="0" leftmargin="0" rightmargin="0" topmargin="0">
    <form id="form1" runat="server"> 
    <div>
        &nbsp;</div> <table style="width: 542px; height: 218px" border="0" bordercolor="#ccff66" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td align="center" colspan="4" style="font-weight: bold; font-size: 25px; font-family: 楷体_GB2312;
                    height: 16px; background-color: #33ffff; color: #ffffff;" valign="bottom" background="BG/007.jpg">
                    老 师 信 息</td>
            </tr>
            <tr>
                <td style="width: 542px; height: 21px; background-color: #ffffff;" align="right" bgcolor="#ffff00">
                    <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Italic="False" Font-Size="12px"
                        Font-Underline="True" Text="具体查询:" meta:resourcekey="Label1Resource1"></asp:Label>
                    <asp:DropDownList ID="DropDownList1" runat="server" Height="20px" Width="50px" meta:resourcekey="DropDownList1Resource1">
                        <asp:ListItem Value="Name" meta:resourcekey="ListItemResource1">姓名</asp:ListItem>
                        <asp:ListItem Value="Sex" meta:resourcekey="ListItemResource2">性别</asp:ListItem>
                        <asp:ListItem meta:resourcekey="ListItemResource3" Value="DepartmentID">部门</asp:ListItem>
                    </asp:DropDownList>&nbsp;<asp:TextBox ID="Infor_box" runat="server" Width="118px" meta:resourcekey="Infor_boxResource1" Height="17px"></asp:TextBox>
                </td>
                <td style="height: 21px; background-color: #ffffff;" align="right" bgcolor="#ffff00">
                    </td>
                <td style="width: 19px; height: 21px; background-color: #ffffff;" align="center" valign="middle" bgcolor="#ffff00">
                    <asp:Button ID="chaxun_btn" runat="server" Text=" 查询 " OnClick="chaxun_btn_Click" meta:resourcekey="chaxun_btnResource1" />&nbsp;</td>
                <td style="width: 158px; height: 21px; background-color: #ffffff;" bgcolor="#ffff00">
                    &nbsp;<asp:ImageButton ID="ImageButton5" runat="server" ImageUrl="~/Img/newtopic.gif"
                        OnClick="ImageButton5_Click" /></td>
            </tr>
            <tr>
                <td align="center" colspan="4" style="height: 133px" bordercolor="#33ff00" valign="top">
                    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                        BackColor="MenuBar" BorderColor="White" BorderStyle="None" BorderWidth="1px"
                        CellPadding="2" CellSpacing="-1" ForeColor="Black" GridLines="None" Height="20px"
                        HorizontalAlign="Center" OnPageIndexChanging="GridView1_PageIndexChanging" OnRowCancelingEdit="GridView1_RowCancelingEdit"
                        OnRowDataBound="GridView1_RowDataBound" OnRowDeleting="GridView1_RowDeleting"
                        OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating" PageSize="7"
                        Width="850px">
                        <Columns>
                             <asp:BoundField DataField="Name" HeaderText="姓名" meta:resourcekey="BoundFieldResource1">
                                <ItemStyle HorizontalAlign="Center" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Age" HeaderText="年龄" meta:resourcekey="BoundFieldResource2">
                                <ItemStyle HorizontalAlign="Center" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Sex" HeaderText="性别" meta:resourcekey="BoundFieldResource3">
                                <ItemStyle HorizontalAlign="Center" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Phone" HeaderText="电话" meta:resourcekey="BoundFieldResource4">
                                <ItemStyle HorizontalAlign="Center" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Address" HeaderText="工作地址" meta:resourcekey="BoundFieldResource5">
                                <ItemStyle HorizontalAlign="Center" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField DataField="DepartmentID" HeaderText="部门号" meta:resourcekey="BoundFieldResource6">
                                <ItemStyle HorizontalAlign="Center" Wrap="False" />
                            </asp:BoundField>
                            <asp:CommandField ButtonType="Image" CancelImageUrl="~/Img/delete.gif" CancelText="取 消"
                                EditImageUrl="~/Img_Button/post_button_edit.gif" EditText="编 辑" HeaderText="编辑"
                                ShowEditButton="True" UpdateImageUrl="~/Img/edit.gif">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:CommandField>
                            <asp:CommandField ButtonType="Image" DeleteImageUrl="~/Img_Button/post_button_delete.gif"
                                HeaderText="删除" ShowDeleteButton="True">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:CommandField>
                        </Columns>
                        <PagerTemplate>
                            <table style="width: 535px; height: 24px">
                                <tr>
                                </tr>
                            </table>
                            <table align="right">
                                <tbody>
                                    <tr>
                                        <td>
                                            <asp:Label ID="LabelCurrentPage" runat="server" Font-Size="Small">当前页:<%# ((GridView)Container.NamingContainer).PageIndex + 1 %></asp:Label></td>
                                        <td>
                                            <asp:Label ID="LabelPageCount" runat="server" Font-Size="Small">总页数:<%# ((GridView)Container.NamingContainer).PageCount %></asp:Label></td>
                                        <td style="width: 29px">
                                            <asp:ImageButton ID="ImageButton1" runat="server" CommandArgument="First" CommandName="page"
                                                ImageUrl="~/Img/bfirst.gif" /></td>
                                        <td>
                                            <asp:ImageButton ID="ImageButton2" runat="server" CommandArgument="prev" CommandName="page"
                                                ImageUrl="~/Img/bprev.gif" /></td>
                                        <td>
                                            <asp:ImageButton ID="ImageButton3" runat="server" CommandArgument="next" CommandName="page"
                                                ImageUrl="~/Img/bnext.gif" /></td>
                                        <td>
                                            <asp:ImageButton ID="ImageButton4" runat="server" CommandArgument="last" CommandName="page"
                                                ImageUrl="~/Img/btail.gif" /></td>
                                    </tr>
                                </tbody>
                            </table>
                            &nbsp;
                        </PagerTemplate>
                        <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
                        <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" HorizontalAlign="Center"
                            Wrap="True" />
                        <EditRowStyle BorderStyle="None" BorderWidth="0px" Height="18px" HorizontalAlign="Center" />
                        <FooterStyle BackColor="#CCCC99" ForeColor="Black" Height="20px" />
                    </asp:GridView>
                <asp:Label ID="Label2" runat="server"></asp:Label>
                </td>
            </tr>
        </table>
    </form>
  
</body>
</html>

⌨️ 快捷键说明

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