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

📄 default.aspx

📁 水晶报表
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>

<!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>51aspx.com Demo</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        Select a city:&nbsp;
        <asp:DropDownList ID="cityList" runat="server">
            <asp:ListItem>Paris</asp:ListItem>
            <asp:ListItem>Tokyo</asp:ListItem>
        </asp:DropDownList>
        &nbsp; &nbsp;
        <asp:Button ID="redisplay" runat="server" Text="Redisplay Report" /><br />
        <br />
        <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="True"
            Height="1039px" ReportSourceID="CrystalReportSource1" Width="901px" />
        <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
            <Report FileName="XtremeCustomers.rpt">
                <Parameters>
                    <CR:ControlParameter ControlID="cityList" ConvertEmptyStringToNull="False" DefaultValue=""
                        Name="City" PropertyName="SelectedValue" ReportName="" />
                </Parameters>
            </Report>
        </CR:CrystalReportSource>
    
    </div>
    </form>
   <a href="http://www.51aspx.com" target="_blank">Download From 51aspx.com</a> 
</body>
</html>

⌨️ 快捷键说明

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