473,836 Members | 1,839 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Crystal Report from DataSet or Stored Procedure with Params

I have been trying for over a week to get data from my stored procedure into
a Crystal Report in VS.NET 2003 with no luck. I have all sorts of code parts
but nothing that tell me how then go together. I have two Crystal.NET and
two ASP.NET books. None give a complete example. This is just crazy! The
GUI approach does not seem to work with stored procedures that have
parameters. Or maybe it's this damn SQL2004 beta. Anyway, all I want to do
is get data from my SQL server stored procedure onto a VS.NET crystal report.
It looks like doing it manual is my only option. I must use C#. Does
anyone have a good example of doing this? Please!!! I can't afford any more
books. Not that they would help. I just need one good example.

Thank you so much!

Craig
Nov 16 '05 #1
2 8438
GG
I have never used it but I came accross to this
http://www.codeproject.com/aspnet/crystal_report.asp
Where may be you can call the store proc to populate a dataset and then
feed the ds to crystal.

Hope it helps

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #2
Thanks, I have not seen this article. I will give it a try tomorrow. Things
that complicate this are that I am using a SQL stored procedure with
parameters. I sure hope this helps. I'm about ready to give up. I do seem
to be capable of building a dataset, but when trying to bind it to the report
I get a logon erro.

Craig

"GG" wrote:
I have never used it but I came accross to this
http://www.codeproject.com/aspnet/crystal_report.asp
Where may be you can call the store proc to populate a dataset and then
feed the ds to crystal.

Hope it helps

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #3

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

Similar topics

2
1253
by: airkart | last post by:
Hello, I've scoured groups and the web, and haven't found a question like mine answered. I'm using Visual Studio 2003 with the Crystal Reports it comes bundled with and SQL Server 2000. Throughout the project I'm working on, I often find I need a temporary table displayed in a report, something that I cannot seem to do. Since temporary tables are so useful, I cannot imagine Crystal Reports wouldn't have a way to get such
4
4648
by: Andrew | last post by:
Hey all, Been working with the Crystal Report Viewer, and have run into a situation I am hoping someone can help me get past. This may be more of a CR question, but hoping for some CR gurus to stop by in here. Crystal's knowledgebase has made available a bunch of examples for both ASP.Net and VB.Net applications for download and review (I added the links at the end of this post). One of the examples is how to pass in a parameter to...
3
5247
by: Diggler | last post by:
I was working on a report that is populated with three different tables in a strongly-typed dataset. The tables are populated from custom objects rather than directly from SQL Server. I loop through the objects and add the rows one at a time. I then push the dataset to the Crystal Report. The report worked fine, until this morning. I added another field or two to the dataset, and rearranged the report fields to organize the report...
0
1293
by: Vadim Vulfov | last post by:
My task was to create Crystal Report on ASP.NET page to display different date depending on to textboxes From Date and To Date. I created stored procedure in SQL with two parameters from_date and to_date. I created dataset object in ASP.NET (drag and drop on it the stored procedure I just created) and save as XSD file. In the Crystal Report selected all the fields and included into the
12
10421
by: Bill Nguyen | last post by:
What's the VB syntax to run the CR report using the following SP? I use CrystalreportViewer and ReportDocument. Thanks Bill Here's the SP in SQLserver 2K: CREATE proc mysp_ReportSubmission @salesdate as varchar(20),
1
4250
by: Soren S. Jorgensen | last post by:
Hi, I've got a Crystal Report that gets some data from a stored procedure and I need to set some params of the proc at runtime. But no matter what I do, I cannot get the report to eat the params - it keeps showing an error that the proc needs to have it's params initialized. Code's something like: ConnectionInfo ci = new ConnectionInfo();
2
2340
by: Charlie Brown | last post by:
The following code is what I have been using in .net 1.1 for years. Now upgrading to .net2.0 and Crystal reports for vs2005, it no longer works, although as far as i can tell it is still supported. The error I receive tells me that I did not provide @Location parameter with a value. Also to note is the database changes at runtime. 'This report uses the PULL method. Dim crtableLogoninfos As New TableLogOnInfos Dim crtableLogoninfo As...
7
6724
by: Jlo | last post by:
Hi, I have a c# winforms application. When I call the report file, it shows me all the records in the table. How can I make it to call only a particular range. i have the following code Viewer1.ReportSource = Application.StartupPath + "//Label.rpt"; How can I assign it a dataset which have the data of a particular range.
1
2109
by: Brad Pears | last post by:
I have a vb.net 2005 project and have a Crystal report I have designed (using the built-in Crystal reports that came with .net 2005). The fields in my report are based on a stored procedure. I have now added a field to the database and have modifed the stored procedure to include this new field. However, when I go to my report and attempt to modify it to add this new field, the new field is not showing up in the list at all. It appears the...
0
9656
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10819
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9349
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7771
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6972
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5641
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5811
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4000
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3100
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.