Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to do report without database?
Message
 
 
General information
Forum:
ASP.NET
Category:
Reporting
Environment versions
Environment:
C# 1.1
Miscellaneous
Thread ID:
01138935
Message ID:
01138986
Views:
15
Hi Kevin,

Thank you for your message and for your approach.

>Here's how I do it - (and this is assuming that when you built the report, you specified a dataset or XML at designtime when you designed the report content)...
>

I have what I am sure is very basic question. How do you "specify a dataset or XML at design time"? That is, say in one of the methods of the page class I create a dataset MyDataSet which has a table MyTable with fields MyField1 and MyField2. Now I am in the CR design mode and can't seem to figure out how to add this dataset/table. When I Right-Mouse click on the Details Section and then on Database I don't see an item Add/Remove Database. This is where I am stuck.

>Assuming you've instantiated the report at runtime, you can push the dataset in by doing the following:
>
>
>foreach (Table oTable in oReport.Database.Tables)
>   oTable.SetDataSource( MyDataSet.Tables[ oTable.Name.ToString() ]);
>
>
>
>You can also use report parameter fields. I prefer to use datasets, but report parameter fields should work as well.
>

I will search for explanation on "report parameter fields" as this is a new concept for me.

Thank you for your help.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform