Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

i working crystal report its displaying blank page output

What I have tried:

i checked the dataset filling and versioning

and reinstall the crystal report
Updated 8-Apr-18 23:17pm

1 solution

Hi can you share your code.
Also check your report source and refresh code.
Share this answer
Member 10386063 9-Apr-18 6:13am    
ReportDocument reportdocument = new ReportDocument();
DataSet1 dsUser = new DataSet1();

using (OracleConnection objConn = new OracleConnection(con))
OracleCommand cmd = new OracleCommand("select USERNAME,PASSWORD from E_USER_MT", objConn);
OracleDataAdapter da = new OracleDataAdapter(cmd);
da.Fill(dsUser, "Userinfo");
CrystalReportViewer1.ReportSource = reportdocument;

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">


<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
AutoDataBind="true" />

<asp:Button ID="Button1" runat="server" onclick="Button1_Click"
Text="Make it PDF" />

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900