on 07-29-2014 5:07 AM
Hi All,
I am writing a C# .Net Windows application which can view and print Crystal Reports.
My report files are in server. I am loading reports using ServerFileReportManager.asmx web service.
For the reports using SQL Server views/tables I use following code to connect SQL database.
TableLogOnInfos TableLogonInfos = new TableLogOnInfos();
TableLogOnInfo TableLogonInfo;
ConnectionInfo ConnectionInfo = new ConnectionInfo();
SQLLoginInformation sqlLoginInformation = new SQLLoginInformation();
sqlLoginInformation = GetRemotingObject().GetSQLLoginInformation();
ConnectionInfo.ServerName = sqlLoginInformation.Server;
ConnectionInfo.DatabaseName = sqlLoginInformation.Database;
ConnectionInfo.UserID = sqlLoginInformation.UserId;
ConnectionInfo.Password = sqlLoginInformation.Password;
ConnectionInfo.AllowCustomConnection = true;
But I don't know how to connect to Oracle database. I have installed Oracle client 11g and created some Crystal reports using "Oracle Server" connection option as below;
I am using SAP Crystal reports for Visual studio 2010 version to create the reports.
Please provide me some sample coding for to connect to Oracle database.
Thanks in advance.
Kumara
Hi Kumara,
I used the the top right corner search box on this page and entered "crystal, oracle, .net, sdk, code" keywords.
Here is the very first result returned by the search.
Please search before posting.
- Bhushan
Senior Engineer
SAP Active Global Support
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Getting started and moving ahead with Crystal Reports .NET applications.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.