-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Nagarajbb
Message 4 in Discussion
Hi,
Using following code you can supply
connection information to crystal report.
TableLogOnInfo objCRTableLogonInfo =new TableLogOnInfo();
ConnectionInfo
objCRConnectionInfo =new ConnectionInfo();
//fetch
the database info from xml file and assing the same to connection info object..
objCRConnectionInfo.ServerName
= �servername�;
objCRConnectionInfo.DatabaseName
= �databasename�;
objCRConnectionInfo.UserID
= �userid�;
objCRConnectionInfo.Password
=�password�;
objCRTableLogonInfo.ConnectionInfo
= objCRConnectionInfo;
//apply
the login info for all the datatables in report document.
foreach(CrystalDecisions.CrystalReports.Engine.Table
objCRTable in objCRReportDocument.Database.Tables)
{
objCRTable.ApplyLogOnInfo(objCRTableLogonInfo);
}
Regards,
Nagaraj
From: ranga
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 09, 2003
12:21 PM
To: BDOTNET
Subject: crystal report
New
Message on BDOTNET
crystal report
Reply
Reply to Sender Recommend
Message 1 in
Discussion
From: ranga
How can we change the database
name in crystal reports.
While developing i had used a dummy database and
now when i want to change the database name it is not allowing me to change
can anybody tell how to do this.
View other groups in this
category.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]