C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » .NET »

Crystal reports


Posted Date: 26 Sep 2008      Posted By: Tamil      Member Level: Bronze     Points: 1   Responses: 1



In ASP.ner/C#,net i created crystal reports, In local host it is working properly. If i am giving the ip address in web config, that means remote..it is adking for user name and password. if i am giving the user name and password also it is not working. again and again asking for uname and pwd...do I need to change the DCOM or COM settings




Responses

Author: Avadhesh Kumar Tiwari    26 Sep 2008Member Level: SilverRating: 2 out of 52 out of 5     Points: 6

Dear friend , perhaps your connection is not properly working...

firstly check your connection...

then according this example.........

using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;


CrptInvoiceReport crptInvoice = new CrptInvoiceReport();
ParameterField InvoicoNo = new ParameterField();
ParameterDiscreteValue parmdisc = new ParameterDiscreteValue();


on button click write this type of code...
crptInvoice.Refresh();
crystalReportViewer1.ReportSource = crptInvoice;
InvoicoNo = crystalReportViewer1.ParameterFieldInfo[0];
parmdisc.Value = "HERE PASS YOUR VALUE WHIC IS REQUIRED TO FILL DATA IN YOUR REPORT"
InvoicoNo.CurrentValues.Add(parmdisc);



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : Assembly
Previous : retreiving data into winform textboxes during form load
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use