⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 showcustom.aspx

📁 asp.net 的某物流管理系统 MIS 系统
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Showcustom.aspx.cs" Inherits="include_Showcustom" %>

<!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 runat="server">
    <title>客户档案</title>
    <link href="../StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body bgcolor="whitesmoke">
    <form id="form1" runat="server">
    <div style="text-align: center">
        <table class="9" style="width: 499px; border-top-style: groove; border-right-style: groove;
            border-left-style: groove; text-align: left; border-bottom-style: groove">
            <tr>
                <td colspan="3" style="height: 22px; text-align: right">
                    <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">添加新客户</asp:LinkButton>
                    &nbsp;&nbsp;
                    <asp:LinkButton ID="LinkButton2" runat="server" OnClick="LinkButton2_Click">刷新</asp:LinkButton>
                    &nbsp;&nbsp;
                    &nbsp; &nbsp;<asp:LinkButton ID="LinkButton4" runat="server" PostBackUrl="~/Default.aspx">返回首页</asp:LinkButton>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                </td>
            </tr>
            <tr>
                <td colspan="3" style="height: 195px">
                    <asp:GridView ID="CustomGridView" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                        CellPadding="3" CssClass="9" GridLines="None" BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellSpacing="1" OnRowCommand="CustomGridView_RowCommand" OnPageIndexChanging="CustomGridView_PageIndexChanging"  OnRowDeleting="CustomGridView_RowDeleting" OnRowDataBound="CustomGridView_RowDataBound">
                        <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                        <Columns>
                            <asp:TemplateField ShowHeader="False">
                                <ItemTemplate>
                                    <table style="width: 765px" class="9">
                                        <tr>
                                            <td style="width: 170px; height: 26px">
                                                <asp:Label ID="Label1" runat="server" Text="客户姓名:" CssClass="9" ForeColor="Black"></asp:Label>
                                                <asp:TextBox ID="txtName" runat="server" ReadOnly="True" Width="93px" Text='<%#DataBinder.Eval(Container.DataItem,"Xingming") %>' CssClass="txtbox1" ForeColor="Navy" ></asp:TextBox></td>
                                            <td style="width: 248px; height: 26px">
                                                <asp:Label ID="Label3" runat="server" Text="电话:" CssClass="9" ForeColor="Black"></asp:Label>
                                                <asp:TextBox ID="txtPhone" runat="server" ReadOnly="True" Width="190px" Text='<%#DataBinder.Eval(Container.DataItem,"Dianhua") %>' ToolTip='<%#DataBinder.Eval(Container.DataItem,"Dianhua") %>' CssClass="txtbox1" ForeColor="Navy"></asp:TextBox></td>
                                            <td style="height: 26px">
                                                &nbsp;<asp:Label ID="Label5" runat="server" Text="单位:" CssClass="9" ForeColor="Black"></asp:Label>
                                                <asp:TextBox ID="txtDanwei" runat="server" ReadOnly="True" Width="263px" Text='<%#DataBinder.Eval(Container.DataItem,"Danwei") %>' ToolTip='<%#DataBinder.Eval(Container.DataItem,"Danwei") %>' CssClass="txtbox1" ForeColor="Navy"></asp:TextBox></td>
                                        </tr>
                                        <tr>
                                            <td colspan="3" style="height: 18px" class="9">
                                                <asp:Label ID="Label7" runat="server" Text="备注:" CssClass="9" Font-Bold="False" ForeColor="Black"></asp:Label>
                                                &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;<asp:TextBox ID="txtBeizhu" runat="server" Height="47px" ReadOnly="True" TextMode="MultiLine" Width="533px" Text='<%#DataBinder.Eval(Container.DataItem,"Beizhu") %>' CssClass="txtbox1" ForeColor="Navy"></asp:TextBox>
                                                &nbsp; <a href="Editcustom.aspx?ShowID=<%#DataBinder.Eval(Container.DataItem,"CustomID") %>" target="_blank">编辑</a>
                                                <asp:ImageButton ID="delBtn" runat="server" ImageUrl="~/pic/body/del.gif" ToolTip="删除" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"CustomID") %>' CommandName="delete" />
                                                &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                                &nbsp; &nbsp; &nbsp; &nbsp;
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 170px; height: 17px;" class="9">
                                            </td>
                                            <td style="width: 248px; height: 17px;">
                                            </td>
                                            <td style="height: 17px">
                                            </td>
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                        <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                        <PagerStyle ForeColor="Black" HorizontalAlign="Right" BackColor="#C6C3C6" />
                        <HeaderStyle Font-Bold="True" ForeColor="#E7E7FF" BackColor="Silver" />
                    </asp:GridView>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -