📄 jigou.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"AutoEventWireup="true" CodeFile="jigou.aspx.cs" Inherits="PersonManage_jigou" %>
<asp:Content ID="jigouguanli" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
<asp:UpdatePanel id="UpdatePanel1" runat="server">
<contenttemplate>
<b>
<asp:Label ID="Label1" runat="server" Style="left: 320px; position: relative; top: 1px"
Text="机构管理"></asp:Label></b><br />
<hr /><span class="style2">
<asp:Label ID="Label2" runat="server" Style="left: 67px; position: relative; top: -6px"
Text="机构名称:"></asp:Label></span>
<asp:TextBox ID="tbName" runat="server" Style="left: 60px;
position: relative; top: -4px"></asp:TextBox><span class="style2">
<asp:Label ID="Label3" runat="server" Style="left: 87px; position: relative; top: -3px"
Text="机构简称:"></asp:Label></span>
<asp:TextBox ID="tbShortname" runat="server" Style="left: 79px; position: relative; top: 0px"></asp:TextBox>
<asp:Button ID="Button1" runat="server" Style="position: relative; left: 94px; top: 2px;" Text="添加" Width="45px" OnClick="Button1_Click" />
<asp:Button ID="Button2" runat="server" Style="position: relative; left: 108px; top: 2px;" Text="保存修改" Width="65px" OnClick="Button2_Click" />
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
DataSourceID="ObjectjigouAll" PageSize="5" Style="left: 9px; position: relative;
top: 10px" Width="722px" BorderColor="Cyan" OnDataBound="GridView1_DataBound" OnRowCommand="GridView1_RowCommand" OnRowDataBound="GridView1_RowDataBound">
<Columns>
<asp:BoundField DataField="BranchName" HeaderText="机构名称" SortExpression="BranchName" />
<asp:BoundField DataField="BranchShortName" HeaderText="机构简称" SortExpression="BranchShortName" />
<asp:TemplateField HeaderText="修改">
<ItemTemplate>
<asp:ImageButton ID="imBnUp" runat="server" CommandName="Up" ImageUrl="~/images/edit.gif"
Style="position: relative" CommandArgument='<%#Eval("BranchId") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="删除">
<ItemTemplate>
<asp:ImageButton ID="imBnDe" runat="server" CommandName="De" CommandArgument='<%#Eval("BranchId") %>' ImageUrl="~/images/delete.gif"
Style="position: relative" />
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ObjectjigouAll" runat="server" SelectMethod="AllSeBr" TypeName="MyOffice.BLL.personManageBLL">
</asp:ObjectDataSource>
</contenttemplate>
</asp:UpdatePanel>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -