supplier/supplier_List.aspx

(开头部分) 2KB

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

<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="supplier_List.aspx.cs" Inherits="supplier_List" Title="" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#6298E1">
  <tbody><tr>
    <td height="24" nowrap=""><font color="#FFFFFF"><img src="../Images/Explain.gif" width="18" height="18" border="0" align="absmiddle">&nbsp;<strong>供应商管理</strong></font></td>
  </tr> 
     <tr>
       <td height="24" align="center" nowrap="" bgcolor="#EBF2F9">
<strong> 供应商名称:</strong><asp:TextBox ID="txt_sname" runat="server" width="200"></asp:TextBox>

        <asp:Button ID="btnSearch" runat="server" Text="查询"  OnClick="btnSearch_Click" ></asp:Button>   
        </td>
    </tr>
  
</tbody></table>
<br>
  <center>
   <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="sid" Width="100%"  AllowPaging="True"  GridLines="None" onpageindexchanging="GridView1_PageIndexChanging">
        <RowStyle Height="25px" HorizontalAlign="Center"  BorderColor="#6298E1" BorderWidth="1px"  />
        <Columns>       
                <asp:TemplateField ControlStyle-Width="30" HeaderText="选择"    >
                    <ItemTemplate>
                        <asp:CheckBox ID="DeleteThis"  runat="server" />
                    </ItemTemplate>
                    <ItemStyle Width="30px" />
                </asp:TemplateField> 
            <asp:BoundField HeaderText="供应商名称" DataField="sname" />
            <asp:BoundField HeaderText="电话" DataField="tel" />
            <asp:BoundField HeaderText="传真" DataField="fax" />
            <asp:BoundField HeaderText="联系人" DataField="people" />
            <asp:BoundField HeaderText="联系人电话" DataField="ptel" />
            <asp:BoundField HeaderText="开户银行" DataField="bank" />
            <asp:BoundField HeaderText="银行账号" DataField="bankno" />
            <asp:HyperLinkField   DataNavigateUrlFormatString="supplier_Show.aspx?id={0}" DataNavigateUrlFields="sid" HeaderText="详细" Text="详细"  >
                <ItemStyle Width="50px" />
            </asp:HyperLinkField>
            <asp:HyperLinkField DataNavigateUrlFormatString="supplier_Edit.aspx?id={0}"  DataNavigateUrlFields="sid" HeaderText="编辑" Text="编辑"  >                
                <ItemStyle Width="50px" />
            </asp:HyperLinkField>   
        </Columns>
        <HeaderStyle Height="27px"  BackColor="#8DB5E9" ForeColor="#FFFFFF" />
        <PagerStyle HorizontalAlign="Center" />
    </asp:GridView>

<br>
<table border="0" cellpadding="0" cellspacing="1" style="width: 100%;">

<tr>                    
<td align="left">
    <asp:Button ID="btnDelete" runat="server" Text="删除" OnClick="btnDelete_Click"/>   
                   
</td>
</tr>

</table>
</center>
后面还有 2 行代码,购买后查看完整代码

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

AI 解读 AI

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

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