Click here to Skip to main content
15,904,287 members
Home / Discussions / C#
   

C#

 
GeneralRe: Recommended Book Pin
Charlie Williams6-Feb-04 5:45
Charlie Williams6-Feb-04 5:45 
GeneralControlling generation of interface stubs Pin
Robert Matheson6-Feb-04 1:32
Robert Matheson6-Feb-04 1:32 
Generaldestructor and dispose Pin
GetOn&GetGoing6-Feb-04 1:08
GetOn&GetGoing6-Feb-04 1:08 
GeneralRe: destructor and dispose Pin
Colin Angus Mackay6-Feb-04 2:17
Colin Angus Mackay6-Feb-04 2:17 
GeneralC# Program Pin
SatyaDY5-Feb-04 23:00
SatyaDY5-Feb-04 23:00 
GeneralRe: C# Program Pin
Heath Stewart6-Feb-04 2:49
protectorHeath Stewart6-Feb-04 2:49 
QuestionCreate .dll's in VS.NET? Pin
Morten Kristensen5-Feb-04 22:29
Morten Kristensen5-Feb-04 22:29 
AnswerRe: Create .dll's in VS.NET? Pin
Mazdak5-Feb-04 22:54
Mazdak5-Feb-04 22:54 
QuestionHow to minimize a program in C#? Pin
Serdar YILMAZ5-Feb-04 21:55
Serdar YILMAZ5-Feb-04 21:55 
AnswerRe: How to minimize a program in C#? Pin
Morten Kristensen5-Feb-04 22:18
Morten Kristensen5-Feb-04 22:18 
AnswerRe: How to minimize a program in C#? Pin
Mazdak5-Feb-04 22:28
Mazdak5-Feb-04 22:28 
GeneralType of control object... Pin
Weiye Chen5-Feb-04 21:54
Weiye Chen5-Feb-04 21:54 
GeneralRe: Type of control object... Pin
thomasa5-Feb-04 22:56
thomasa5-Feb-04 22:56 
GeneralRe: Type of control object... Pin
Dan_P5-Feb-04 23:31
Dan_P5-Feb-04 23:31 
GeneralRe: Type of control object... Pin
Weiye Chen6-Feb-04 1:11
Weiye Chen6-Feb-04 1:11 
GeneralRe: Type of control object... Pin
Weiye Chen6-Feb-04 1:07
Weiye Chen6-Feb-04 1:07 
GeneralCrystal reports with multi typed datasets Pin
SimonS5-Feb-04 21:03
SimonS5-Feb-04 21:03 
Here's my scenario:

I want to create a report with a header, details and footer where each of these sections come from a separate typed dataset.

So, for an invoice I want to do the following:
header - client info
details - line items for order
footer - totals for order

I can't go directly to the database with Crystal, so I thought using typed datasets would be OK.
I can create a header report and a line item report with separate typed datasets, but can't come right with one report composing of three typed datasets.

To create one report I'm using:
CrystalReport1 report1 = new CrystalReport1();
report1.SetDataSource(lines); //lines = a typed dataset
crystalReportViewer1.ReportSource = report1;

For the composite report, I've tried:
dsCompo.Tables.Add( lines.Copy());
dsCompo.Tables.Add( companytx.Copy());
CrystalReport4 report4 = new CrystalReport4();
report4.SetDataSource(ds);
crystalReportViewer1.ReportSource=report4;

But the viewer jsut asks for a database login...
I have tried using a subreport, but get the same result.


Is there something obvious I'm missing?



Cheers,
Simon

sig ::
"Don't try to be like Jackie. There is only one Jackie.... Study computers instead.", Jackie Chan on career choices.

article :: animation mechanics in SVG     blog:: brokenkeyboards

GeneralRe: Crystal reports with multi typed datasets Pin
SimonS5-Feb-04 21:28
SimonS5-Feb-04 21:28 
GeneralRe: Crystal reports with multi typed datasets Pin
Heath Stewart6-Feb-04 2:44
protectorHeath Stewart6-Feb-04 2:44 
QuestionHow to create a fadein dialog by C#? Pin
tuliplanetrain5-Feb-04 20:59
tuliplanetrain5-Feb-04 20:59 
AnswerRe: How to create a fadein dialog by C#? Pin
Mazdak5-Feb-04 21:27
Mazdak5-Feb-04 21:27 
AnswerRe: How to create a fadein dialog by C#? Pin
tuliplanetrain5-Feb-04 21:51
tuliplanetrain5-Feb-04 21:51 
GeneralRe: How to create a fadein dialog by C#? Pin
Morten Kristensen5-Feb-04 22:23
Morten Kristensen5-Feb-04 22:23 
GeneralRe: How to create a fadein dialog by C#? Pin
Mazdak5-Feb-04 22:34
Mazdak5-Feb-04 22:34 
GeneralRe: How to create a fadein dialog by C#? Pin
Mazdak5-Feb-04 22:58
Mazdak5-Feb-04 22:58 

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.