educationlevelsmanager.aspx

来自「用AJAX做的一个在线求职系统」· ASPX 代码 · 共 32 行

ASPX
32
字号
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" CodeFile="EducationLevelsManager.aspx.cs" Inherits="EducationLevelsManager_aspx" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="server">
<div align="center">
    <asp:Label ID="Label14" Runat="server" SkinID="FormHeading" Text="教育水平管理"></asp:Label>
    <br />
    <br />
    <asp:DetailsView ID="DetailsView1" Runat="server" DataSourceID="ObjectDataSource1"
        AllowPaging="True" AutoGenerateRows="False" DataKeyNames="EducationLevelID" GridLines="None" CellPadding="5" SkinID="AdminEntry">
        <PagerSettings Mode="NumericFirstLast"></PagerSettings>
        <CommandRowStyle HorizontalAlign="Left"></CommandRowStyle>
        <Fields>
            <asp:CommandField ButtonType="Button" ShowDeleteButton="True" ShowInsertButton="True"
                ShowEditButton="True"></asp:CommandField>
            <asp:BoundField HeaderText="教育水平ID:" DataField="educationlevelid" ReadOnly="True" InsertVisible="False">
                <ItemStyle HorizontalAlign="Left"></ItemStyle>
                <HeaderStyle CssClass="dataentryformlabel"></HeaderStyle>
            </asp:BoundField>
            <asp:BoundField HeaderText="教育水平名称 :" DataField="educationlevelname">
                <HeaderStyle CssClass="dataentryformlabel"></HeaderStyle>
            </asp:BoundField>
        </Fields>
        <FieldHeaderStyle HorizontalAlign="Right"></FieldHeaderStyle>
        <HeaderStyle HorizontalAlign="Right"></HeaderStyle>
        <EditRowStyle HorizontalAlign="Left"></EditRowStyle>
    </asp:DetailsView><br />
    <asp:ObjectDataSource ID="ObjectDataSource1" Runat="server" TypeName="JobSiteStarterKit.BOL.EducationLevel" DataObjectTypeName="JobSiteStarterKit.BOL.EducationLevel"
        DeleteMethod="Delete" InsertMethod="Insert" SelectMethod="GetEducationLevels"
        UpdateMethod="Update">
    </asp:ObjectDataSource>
</div>
</asp:Content>

⌨️ 快捷键说明

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