This is a discussion on The report you requested requires further information within the ASP and ASP.NET Programming forums, part of the Web Development category; Hi I have used crystal report to generate the report using dataset. I am getting the following error 'The report ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi I have used crystal report to generate the report using dataset. I am getting the following error 'The report you requested requires further information ' ServerName Username: Passowrd: When each time time the page is navigated ,or when i click any button in toolbar, and the page stays only in first page Here is My code <%@ Register Assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.Web" TagPrefix="CR" %> <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="true" DisplayGroupTree="False" HasPrintButton="False" EnableDatabaseLogonPrompt="true " HasCrystalLogo="False" HasSearchButton="False" HasDrillUpButton="False" HasToggleGroupTreeButton="False" BorderStyle="Outset" BorderColor="black" HasPageNavigationButtons="True" Width="1000px"/> In the page load CrystalReportViewer1.ReportSource = myReportDocument; CrystalReportViewer1.DataBind();
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
| Sponsored Links |
| |||
| create a new ReportDocument into which you will load the Crystal Report Template, and set this document's DataSource to the DataSet that the XML file was created from. Then set the ReportDocument to be the report source for the CrystalReportViewer, and add code to bind it, as follows. rystalDecisions.CrystalReports.Engine.ReportDocume nt myReportDocument; myReportDocument = new CrystalDecisions.CrystalReports.Engine.ReportDocum ent(); myReportDocument.Load(Server.MapPath("CrystalRepor t.rpt")); CrystalReportViewer1.ReportSource = myReportDocument; CrystalReportViewer1.DataBind(); |
| |||
| private void setDBLOGONforREPORT(ConnectionInfo myconnectioninfo) { TableLogOnInfos mytableloginfos = new TableLogOnInfos(); mytableloginfos = CrystalReportViewer1.LogOnInfo; foreach (TableLogOnInfo myTableLogOnInfo in mytableloginfos) { myTableLogOnInfo.ConnectionInfo = myconnectioninfo; } } In Page Load.... ConnectionInfo myConnectionInfo = new ConnectionInfo(); myConnectionInfo.ServerName = "serverName"; myConnectionInfo.DatabaseName = "DatabaseName"; myConnectionInfo.UserID = "sa"; myConnectionInfo.Password = "pwd"; setDBLOGONforREPORT(myConnectionInfo); |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| get the information of the browser? | saravanan | HTML, CSS and Javascript Coding Techniques | 1 | 04-15-2008 06:03 AM |
| Microsoft Information | Shanthi | Technology BUZZzzzzz | 5 | 03-21-2008 04:12 AM |
| Track User information | Jeyaseelansarc | PHP Programming | 9 | 08-06-2007 03:06 AM |
| Visitor's browser information | venkat_charya | PHP Programming | 2 | 07-19-2007 03:50 AM |
| Information and code samples | rgm5 | Ruby | 0 | 02-23-2007 06:51 AM |