Click here to Skip to main content
16,005,121 members
Home / Discussions / C#
   

C#

 
GeneralRe: Custom Rendering Ink Pin
OriginalGriff16-Aug-10 21:41
mveOriginalGriff16-Aug-10 21:41 
GeneralRe: Custom Rendering Ink Pin
Luc Pattyn16-Aug-10 13:59
sitebuilderLuc Pattyn16-Aug-10 13:59 
AnswerRe: Custom Rendering Ink Pin
Bernhard Hiller16-Aug-10 19:27
Bernhard Hiller16-Aug-10 19:27 
Questionread sms from nokia phone Pin
behzadcp16-Aug-10 5:10
professionalbehzadcp16-Aug-10 5:10 
AnswerRe: read sms from nokia phone Pin
JHizzle16-Aug-10 5:25
JHizzle16-Aug-10 5:25 
GeneralRe: read sms from nokia phone Pin
behzadcp16-Aug-10 7:03
professionalbehzadcp16-Aug-10 7:03 
GeneralRe: read sms from nokia phone Pin
Richard MacCutchan16-Aug-10 11:10
mveRichard MacCutchan16-Aug-10 11:10 
QuestionCrystal Report: Change ODBC connection to dynamic dataset from csv file? Pin
MC_Smit16-Aug-10 4:40
MC_Smit16-Aug-10 4:40 
Hi All,

The Problem:

I currently have a few hundred crystal reports which get populated via an ODBC connection. I have to programmatically change this so I can populate a DataSet from a csv file and then populate a report based on the dataset. The main aim is to do this without actually modifying any of the reports (as that would mean months of re-testing of hundreds of reports....and common, who likes to fight with the testing department ;->)

The ideal solution:

My app gets 3 parameters 1) actual report location, 2) report parameter csv file location 3) report data csv file location. To over-ride the ODBC connection specified in the report and populate the report via a dataset populated from the specified csv file.

So far:

At the moment I load the report, populate the report's parameters with those specified in the csv file, create a dataset based on the data csv file and set the report dataset with cryReport.SetDataSource(ds.Tables["tableX"]). The table name in the dataset has been kept the same as the default table name used in all the reports.

The problem seems to be that the report is not pulling in any of the data specified in the DataSet? As far as I can gather from searching the net, you can only populate a report with a strongly typed dataset? I don't see how you can create a strongly typed dataset programmatically for each dataset every-time the application is called, as this cannot be done beforehand.

I would appreciate any direction or help with this problem!

Thanx,

MC
GeneralRe: Crystal Report: Change ODBC connection to dynamic dataset from csv file? Pin
OriginalGriff17-Aug-10 9:39
mveOriginalGriff17-Aug-10 9:39 
QuestionWF 4.0 Pin
netDeveloper16-Aug-10 4:39
netDeveloper16-Aug-10 4:39 
Questionemptying texbox Pin
tek 200916-Aug-10 3:20
tek 200916-Aug-10 3:20 
AnswerRe: emptying texbox Pin
Luc Pattyn16-Aug-10 3:33
sitebuilderLuc Pattyn16-Aug-10 3:33 
GeneralRe: emptying texbox Pin
tek 200916-Aug-10 3:40
tek 200916-Aug-10 3:40 
GeneralRe: emptying texbox Pin
Covean16-Aug-10 3:53
Covean16-Aug-10 3:53 
GeneralRe: emptying texbox Pin
T M Gray16-Aug-10 6:05
T M Gray16-Aug-10 6:05 
AnswerRe: emptying texbox Pin
I Believe In GOD16-Aug-10 12:01
I Believe In GOD16-Aug-10 12:01 
QuestionHow to mark part of the image that appear on my application ? Pin
Yanshof16-Aug-10 2:58
Yanshof16-Aug-10 2:58 
AnswerRe: How to mark part of the image that appear on my application ? Pin
Ravi Bhavnani16-Aug-10 3:54
professionalRavi Bhavnani16-Aug-10 3:54 
AnswerRe: How to mark part of the image that appear on my application ? Pin
ignrod16-Aug-10 4:19
ignrod16-Aug-10 4:19 
AnswerRe: How to mark part of the image that appear on my application ? Pin
Luc Pattyn16-Aug-10 6:07
sitebuilderLuc Pattyn16-Aug-10 6:07 
GeneralRe: How to mark part of the image that appear on my application ? Pin
ignrod16-Aug-10 7:01
ignrod16-Aug-10 7:01 
Questionconnect to database using javascript Pin
SatyaKeerthi1516-Aug-10 1:28
SatyaKeerthi1516-Aug-10 1:28 
AnswerRe: connect to database using javascript Pin
OriginalGriff16-Aug-10 1:53
mveOriginalGriff16-Aug-10 1:53 
AnswerRe: connect to database using javascript Pin
Not Active16-Aug-10 2:03
mentorNot Active16-Aug-10 2:03 
AnswerRe: connect to database using javascript Pin
J4amieC16-Aug-10 3:57
J4amieC16-Aug-10 3:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.