Solved

Changing intregrated crystal report database location and tables

Posted on 2011-03-22
2
634 Views
Last Modified: 2012-05-11
I have a report that is attached to a static Dataset and DataTable.  I would like to know how to change the reports data location at run time to a dynaicaly created dataset which is created at runtime.
0
Comment
Question by:Jam9974
  • 2
2 Comments
 

Accepted Solution

by:
Jam9974 earned 0 total points
ID: 35189229
never mind I answered my own question.

just added the line,
rpt.Database.Tables[0].Location = AppSettingInfo.PublicDataSet.Tables["DataTable1"].TableName;
0
 

Author Closing Comment

by:Jam9974
ID: 35189237
resolved my own problem
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question