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

📄 index.aspx

📁 基于C#语言的一个企业客户管理数据库系统开发案例的源代码 ,很实用
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Index.aspx.cs" Inherits="Index" %>

<%@ Register Src="../UserControl/Footer.ascx" TagName="Footer" TagPrefix="uc2" %>

<%@ Register Src="~/UserControl/Header.ascx" TagName="Header" TagPrefix="uc1" %>

<!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="../css/style.css" rel="stylesheet" type="text/css" />
</head>
<body class="Font">
    <form id="form1" runat="server">
    <div style="text-align: center">
        <uc1:Header ID="Header1" runat="server" />
        <div style="text-align: center">
            <table border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td background="../Image/企业客户管理系统页面任务分配.jpg" height="453" style="vertical-align: top"
                        width="747">
                        <table style="vertical-align: top; text-align: center" width="100%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td style="width: 63px; height: 46px">
                                </td>
                                <td style="vertical-align: top; width: 609px; height: 46px">
                                </td>
                                <td style="height: 46px">
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 63px; height: 144px">
                                </td>
                                <td style="width: 609px; height: 144px">
                    <asp:DataList ID="DataList1" runat="server"
                        Width="100%"  Font-Size="9pt" Height="139px" OnItemCommand="DataList1_ItemCommand" CellPadding="4" ForeColor="#333333">
                        <ItemTemplate>
                            <table border="0" cellpadding="0" cellspacing="0" height="12" style="width: 100%">
                                <tr style="width: 100%">
                                    <td style="height: 12px" width="25%" align="center">
                                        <asp:Label ID="labID" runat="server" Text='<%# DataBinder.Eval(Container,"DataItem.RecordID") %>'></asp:Label></td>
                                    <td style="height: 12px" width="25%" align="left">
                                     <asp:LinkButton ID="lnkbtnTitle"  CommandName="select" runat="server"  Text='<%# DataBinder.Eval(Container,"DataItem.RecordTitle") %>' CausesValidation="False" ></asp:LinkButton>
                                       </td>
                                    <td style="height: 12px" width="5%">
                                        <asp:Label ID="labUserName" runat="server" Text='<%# DataBinder.Eval(Container,"DataItem.UserName") %>'></asp:Label>
                                    </td>
                                    <td style="height: 12px" width="25%"><font style="color:DarkKhaki">发布时间 </font>
                                        &nbsp;[<asp:Label ID="labCreateDate" runat="server" Text='<%# DataBinder.Eval(Container,"DataItem.CreateDate","{0:yyyy-MM-dd}") %>'></asp:Label>]</td>
                                </tr>
                            </table>
                        </ItemTemplate>
                        <AlternatingItemStyle BackColor="White" />
                        <FooterStyle BackColor="#1C5E55" ForeColor="White" Font-Bold="True" />
                        <SelectedItemStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                        <ItemStyle BackColor="#E3EAEB" />
                        <HeaderStyle BackColor="#7296BE" Font-Bold="True" ForeColor="White" />
                        <HeaderTemplate>
                        <table border="0" cellpadding="0" cellspacing="0" height="12" style="width: 100%">
                        <tr>
                        <td width="30%"> <asp:Label ID="Label1" runat="server" Text="序号"></asp:Label></td>
                         <td width="30%" align="left"> <asp:Label ID="Label2" runat="server" Text="标题"></asp:Label></td>
                          <td width="15%"> <asp:Label ID="Label3" runat="server" Text="发布人"></asp:Label></td>
                           <td width="25%"> <asp:Label ID="Label4" runat="server" Text="发布时间"></asp:Label></td>
                        <tr>
                        </table>
                           
                        </HeaderTemplate>
                    </asp:DataList></td>
                                <td style="height: 144px">
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 63px; height: 22px">
                                </td>
                                <td style="width: 609px; height: 22px">
                                    <table bgcolor="#cccccc" width="100%">
                                        <tr>
                                            <td style="width: 204px; height: 16px" valign="middle">
                                                <span style="font-size: 9pt">共有</span><asp:Label ID="labCount" runat="server" Font-Size="9pt"
                                                    ForeColor="#FF3300"></asp:Label><span style="font-size: 9pt; vertical-align: bottom; text-align: center;">页</span></td>
                                            <td style="width: 68px; height: 16px" valign="middle">
                                                <span style="font-size: 9pt; vertical-align: bottom; text-align: center;">当前<asp:Label ID="labNowPage" runat="server" Font-Size="9pt"
                                                    ForeColor="Brown">1</asp:Label>页</span></td>
                                            <td style="width: 121px; height: 16px; text-align: left" valign="middle">
                                                <span style="font-size: 9pt">跳转到</span>
                                                <asp:TextBox ID="txtGoto" runat="server" Height="15px" Width="12px"></asp:TextBox>
                                                <asp:Button ID="btnGo" runat="server" Height="21px" OnClick="btnGo_Click" Text="Go"
                                                    Width="27px" /></td>
                                            <td style="width: 32px; height: 16px; vertical-align: bottom; text-align: center;" valign="middle">
                                                <asp:LinkButton ID="lnkbtnFirst" runat="server" Font-Size="9pt" Font-Underline="False"
                                                    ForeColor="Black" OnClick="lnkbtnTop_Click">首页</asp:LinkButton></td>
                                            <td style="width: 42px; height: 16px; vertical-align: bottom; text-align: center;" valign="middle">
                                                <asp:LinkButton ID="lnkbtnFront" runat="server" Font-Size="9pt" Font-Underline="False"
                                                    ForeColor="Black" OnClick="lnkbtnPrve_Click">上一页</asp:LinkButton></td>
                                            <td style="width: 40px; height: 16px; vertical-align: bottom; text-align: center;" valign="middle">
                                                <asp:LinkButton ID="lnkbtnNext" runat="server" Font-Size="9pt" Font-Underline="False"
                                                    ForeColor="Black" OnClick="lnkbtnNext_Click">下一页</asp:LinkButton></td>
                                            <td style="width: 57px; height: 16px; vertical-align: bottom; text-align: center;" valign="middle">
                                                <asp:LinkButton ID="lnkbtnLast" runat="server" Font-Overline="False" Font-Size="9pt"
                                                    Font-Underline="False" ForeColor="Black" OnClick="lnkbtnLast_Click" Width="100%">尾页</asp:LinkButton></td>
                                        </tr>
                                    </table>
                                </td>
                                <td style="height: 22px">
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            <br />
            <uc2:Footer ID="Footer1" runat="server" />
            <br />
        </div>
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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