assets/Manage.aspx

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Title="" Language="C#" MasterPageFile="~/m.master" AutoEventWireup="true" ValidateRequest="false"  CodeFile="Manage.aspx.cs" Inherits="assets_List" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
 

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <div class="page-wrap">
				<section class="page-hd">
					<header>
						<h2 class="title">管理资产信息</h2>
						
					</header>
					<hr>
				</section>
				
	
				<table class="auto-style1">
                       
                    <tr><td valign="top">

                            <table style="width:100%;" id="ctl00_ContentPlaceHolder1_GridView1">
    <tr>
        <td align="center">
         <%--<strong> 检修周期</strong><asp:DropDownList ID="ddlzhq" runat="server" Width="120">
        <asp:ListItem>每周</asp:ListItem>
    <asp:ListItem>每月</asp:ListItem>--%>
</asp:DropDownList><strong> 资产状态</strong><asp:DropDownList ID="ddlflag" runat="server" Width="120">
        <asp:ListItem>在用</asp:ListItem>
    <asp:ListItem>报损</asp:ListItem>
</asp:DropDownList>   <strong> 资产编号:</strong><asp:TextBox ID="txt_asid" runat="server" width="120"></asp:TextBox>
<strong> 资产名称:</strong><asp:TextBox ID="txt_asname" runat="server" width="120"></asp:TextBox>
<strong> 使用部门:</strong><asp:TextBox ID="txt_parts" runat="server" width="120"></asp:TextBox>

    <asp:Button ID="Button1" runat="server" Text="查 找"  class="btn btn-info-outline"  onclick="btnSearch_Click" />

        </td>
    </tr>
    <tr>
        <td>
              <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="100%" GridLines="None" AllowPaging="True" onpageindexchanging="GridView1_PageIndexChanging">
        <RowStyle Height="25px" HorizontalAlign="Center" />
        <Columns>       
            <asp:BoundField HeaderText="资产编号" DataField="asid" />
            <asp:BoundField HeaderText="资产名称" DataField="asname" />
            <asp:BoundField HeaderText="使用部门" DataField="parts" />
            <asp:BoundField HeaderText="预计使用年限" DataField="asyear" />
            <asp:BoundField HeaderText="已使用年限" DataField="asyear2" />
           <%-- <asp:BoundField HeaderText="检修周期" DataField="zhq" />--%>
            <asp:BoundField HeaderText="制造厂商" DataField="chs" />
            <asp:BoundField HeaderText="资产存放地点" DataField="address" />
            <asp:BoundField HeaderText="保管人" DataField="peo" />
          <%--  <asp:BoundField HeaderText="检修负责人" DataField="peo2" />--%>
            <asp:BoundField HeaderText="资产状态" DataField="flag" />
            <asp:TemplateField HeaderText="操作">
            <ItemTemplate>
            <a href="View.aspx?id=<%#Eval("asid") %>">详情</a>
            <a href="Modify.aspx?id=<%#Eval("asid") %>">修改</a>
                    <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False"   CommandName='<%#Eval("asid") %>' OnClick="lnk_Click" Text="删除" OnClientClick='return confirm("您确定要删除此信息么?");'></asp:LinkButton>
后面还有 20 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。