473,320 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How to create a report at runtime?

Hello Gurus,

I need to create a Microsoft Visual Studio 2005 report at runtime.

I wrote a C# window application, that holds a DataSet and several
DataGridView controls.
Each of the DataGridView controls show filtered data of the DataSet.

Using the Visual Studio 2005 designer, I have generated RDLC file with
report tables and a Form that holds this reports for display. and its all
working fine.

Each of the data shown on the DataGridView controls should be placed in a
new report table.

My question is:
I do not know how many DataGridView controls will be instantiated at
runtime, so I also do not know how many report tables I will need to produce.
I did manage to create the mechanism to create everything needed for the
runtime instantiation of DataGridView controls, but I do not now how to
create report tables at runtime and to fill its content at runtime.

Can anyone help me we that?

I'll very much appreciate any help, samples will be greatly appreciated.
---------
Thanks
Sharon
Nov 29 '07 #1
0 1930

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Rick Thiel | last post by:
Hello, I am trying to build a Crystal report VisualStudio.NET for an ASP.NET application. I would like to build a report that doesn't connect to any particular database at design time because I...
7
by: Phin | last post by:
I need your HELP! I've seen all the posts on using Crystal Reports within vs.net (vb.net) and changing a SQL query at runtime. When I tried to pass in a dataset into the crystal report at...
0
by: blackpuppy | last post by:
I need to allow the user to design the report format at runtime. I'm studying with what tools that I can do that. The users need to design the report/document by themselves because they are in...
8
by: Donna Sabol | last post by:
First, I should start by saying I am creating a database to be used by some very impatient, non-computer literate people. It needs to be seameless in it's operation from their point of view. I...
7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
3
by: Don Lee | last post by:
Hi All, i want to create a dynamic crosstab report. The method shown in http://support.microsoft.com/default.aspx?scid=kb;en-us;328320 is not a dynamic report as it require the user to manual...
1
by: pepsi330ml | last post by:
I need to create a crosstab report that does not need the user to know the total number to columns and manually add a new textbox and amend the VBA code. The VBA code should handle everything from...
0
by: Timmy Jones | last post by:
Hey all, I am trying to try get a crytal report running properly. A "Hello World" report that does not add criteria to the record selection formula of the report (either in the development tool,...
3
by: creative1 | last post by:
Here is how you create a complex data report that involves parent and child commands and you can update information at runtime. Its pretty straight forward to work with simple queries; however,...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.