CompanyMaterials/MaterialSortList.aspx

(开头部分) 4KB

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

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MaterialSortList.aspx.cs" Inherits="CompanyMaterials_MaterialSortList" %>

<!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 id="Head1" runat="server">
    <title>物料类别列表</title>
    
    <link href="../Style/default.css" rel="stylesheet" type="text/css" />
 
</head>
<body background="../Images/bg.gif" style="color: #000000">
    <form id="form1" runat="server">
   <table > 
   <tr><td>
    
     <table > <tr>
        <td style="text-align: left; height: 16px;  width: 910px;" colspan="2" background="../Images/treetopbg.jpg">
        <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/trdown.gif" />
            <span style="color: #006699; font-family: 宋体"><strong>物料类别管理</strong></span></td>
        </tr></table>
   <table cellpadding="0" cellspacing="0" border="0" class="TabFix" style="width: 96%; height: 93%">
  <tr><td style="width: 34px; height:16px;"> </td><td style="height: 16px">&nbsp;物料类别名称:<asp:TextBox ID="MaterialSortNameTxt" runat="server" Width="120px"></asp:TextBox>
    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 是否管理:&nbsp;<asp:DropDownList ID="IfRegulateDDL" runat="server" Width="53px">
        <asp:ListItem></asp:ListItem>
        <asp:ListItem Value="1">是</asp:ListItem>
        <asp:ListItem Value="0">否</asp:ListItem>
    </asp:DropDownList>
    &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
    <asp:Button ID="QueryBtn" runat="server" CssClass="button60" OnClick="QueryBtn_Click"
        Text="查询" />
   
</td></tr>
    <tr>
    <td valign="top" style="width: 34px; height: 596px;" > </td>
    <td align="left" valign="top" >  <asp:GridView  ID="GridView1"  CssClass="Gv1" runat="server" AutoGenerateColumns="False" AllowPaging="True" AllowSorting="True"  PageSize="19"  Width="914px" DataKeyNames="ID" OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing" CellPadding="4" ForeColor="#333333" GridLines="None" ShowFooter="True" OnPageIndexChanging="GridView1_PageIndexChanging"  >
            <Columns>
               <asp:TemplateField HeaderText="物料类别编号"  >
                   <ItemTemplate>
                          <%# DataBinder.Eval(Container.DataItem, "MaterialSortID")%>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left" />
                    <HeaderStyle Width="80px" />
                    
                </asp:TemplateField>
                <asp:TemplateField HeaderText="物料类别名称"  >
                    <ItemTemplate>
                          <%# DataBinder.Eval(Container.DataItem, "MaterialSortName")%>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left" />
                    <HeaderStyle Width="80px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="是否管理"  >
                    <ItemTemplate>
                         <%# DataBinder.Eval(Container.DataItem, "IfRegulate")%>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left" />
                    <HeaderStyle Width="80px" />
                </asp:TemplateField>
               
后面还有 31 行代码,解锁后查看完整代码

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

AI 解读

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

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