Advertisement

05.14.2008 at 07:11AM PDT, ID: 23401487
[x]
Attachment Details

Creating Crystal Reports dynamically in ASP.NET?

Asked by ExecQ in Programming for ASP.NET

Tags: ,

I have a situation where I would like to run a report from the information contained in a GridView.  The information comes from a dynamically generated SQL statement that is then created in a view.  I need to be able to report the same information that is in the GridView when the user clicks a button.  The would be simple to do if I create a dataset from the view but I can't add fields in the designing of the report because the report fields could change.  Therefore I need to able to create the report dynamically, either from the SQL statement or from C# code.

Any suggestions or how to do this?

I am presently using Crystal Reports, but JavaScript, AJAX, HTML, or any other way to report the GridView information would be fine.Start Free Trial
[+][-]05.15.2008 at 12:53AM PDT, ID: 21571379

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Programming for ASP.NET
Tags: C#, ASP.NET, IE 7
Sign Up Now!
Solution Provided By: G0ggy
Participating Experts: 2
Solution Grade: B
 
 
[+][-]05.15.2008 at 07:03AM PDT, ID: 21573710

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.15.2008 at 07:08AM PDT, ID: 21573770

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.15.2008 at 07:39AM PDT, ID: 21574135

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.15.2008 at 08:05AM PDT, ID: 21574422

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628