SelMaterialSort.aspx

(开头部分) 4KB

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

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

<!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">
    <form id="form1" runat="server">
   <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"> </td></tr>
<tr><td style="width: 34px; height:16px;"> </td><td style="height: 16px">
    &nbsp;&nbsp; 物料类别名称:<asp:TextBox ID="MaterialSortNameTxt" runat="server" Width="140px"></asp:TextBox>
    &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;
    <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" runat="server" AllowPaging="True" AllowSorting="True"
            AutoGenerateColumns="False" CellPadding="4" CssClass="Gv1" DataKeyNames="ID"
            ForeColor="#333333" GridLines="None" Height="83px" OnPageIndexChanging="GridView1_PageIndexChanging"
            OnSelectedIndexChanging="GridView1_SelectedIndexChanging" PageSize="20" Width="803px">
            <Columns>
                <asp:TemplateField HeaderText="操作">
                    <ItemTemplate>
                        <asp:LinkButton ID="BtnSel" runat="server" CausesValidation="False" CommandName="Select"
                            Text="选择"></asp:LinkButton>
                        <asp:HiddenField ID="HidID" runat="server" Value='<%# DataBinder.Eval(Container.DataItem, "ID")%>' />
                    </ItemTemplate>
                    <HeaderStyle Width="60px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="物料类别编号">
                    <ItemTemplate>
                        <%# DataBinder.Eval(Container.DataItem, "MaterialSortID")%>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" />
                    <HeaderStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="80px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="物料类别名称">
                    <ItemTemplate>
                        <%# DataBinder.Eval(Container.DataItem, "MaterialSortName")%>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" />
                    <HeaderStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="80px" />
                </asp:TemplateField>
                 <asp:TemplateField HeaderText="是否管理">
                    <ItemTemplate>
                        <%# DataBinder.Eval(Container.DataItem, "IfRegulate")%> 
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" />
后面还有 23 行代码,解锁后查看完整代码

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

AI 解读

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

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