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

📄 csmanage.aspx

📁 数据库课程设计 用SQL 和Asp.net实现的客户管理系统。运行时需要修改web.config里面的内容并把相关的数据库引进去
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="csmanage.aspx.cs" Inherits="csmanage" %>

<!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>
</head>
<body background="image/2.jpg">
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="CustomerView" runat="server" AutoGenerateColumns="False" CellPadding="3" GridLines="None" Style="left: 53px; position: relative; top: 4px; text-align: center; z-index: 100;"
            Width="442px" OnRowDeleting="CustomerView_RowDeleting" OnRowEditing="CustomerView_RowEditing" AllowPaging="True" OnPageIndexChanging="CustomerView_PageIndexChanging" PageSize="3" BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellSpacing="1">
            <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
            <Columns>
                <asp:BoundField DataField="customercode" HeaderText="客户编码" />
                <asp:BoundField DataField="customername" HeaderText="客户名称" />
                <asp:CommandField HeaderText="更新" ShowEditButton="True" />
                <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
            </Columns>
            <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
            <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
        </asp:GridView>
        &nbsp;
        <asp:LinkButton ID="LinkButton4" runat="server" OnClick="LinkButton4_Click" Style="left: 556px;
            position: relative; top: -96px">添加新的客户</asp:LinkButton><p align="left">
            <font color="olive" face="楷体" size="3">输入客户的编码:<asp:TextBox ID="ccode" runat="server" style="left: -57px; position: relative; top: 31px; z-index: 101;"></asp:TextBox></font></p>
        <table style="left: 39px; position: relative; top: 27px; width: 21%; height: 117px; z-index: 102;" align="left" >
        <tr>
        <td style="width: 230px" align="center">
            <asp:LinkButton ID="linkbutton" runat="server" OnClick="linkbutton_Click">查询客户类型编码</asp:LinkButton></td>
        </tr>
        <tr>
        <td style="width: 230px" align="center">
            <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">查询客户个人信息</asp:LinkButton></td>
        </tr>
        <tr>
        <td style="width: 230px" align="center">
            <asp:LinkButton ID="LinkButton2" runat="server" OnClick="LinkButton2_Click">查询客户的负责人</asp:LinkButton></td>
        </tr> <tr>
        <td style="width: 230px" align="center">
            <asp:LinkButton ID="LinkButton3" runat="server" OnClick="LinkButton3_Click">查询客户消费情况</asp:LinkButton></td>
        </tr>
        </table>
        <asp:TextBox ID="result" runat="server" Height="126px" Rows="5" Style="left: 111px;
            position: relative; top: 23px" TextMode="MultiLine" Width="326px" MaxLength="100"></asp:TextBox></div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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