473,387 Members | 3,801 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,387 software developers and data experts.

Crystal report Line graph and C# , stored procedure

Joe
Dear Friends,
I want dynamically create the Graph from C# application. The graph would be
timeInterval VS percentage.
timeInterval percentage Recordno

8/2/2003 10:11:00 AM 10 ABC123
8/3/2003 10:11:00 AM 20 ABC123
8/4/2003 11:11:00 AM 30 ABC123
8/5/2003 10:11:00 AM 75 ABC123
8/6/2003 10:11:00 AM 40 ABC123
8/7/2003 12:11:00 PM 25 ABC123
8/8/2003 10:11:00 AM 23 ABC123
8/9/2003 8:11:00 AM 7 ABC123

This is my stored procedure.

CREATE PROCEDURE sp_percentageGraph
(
@RecordNo INT,
@startDate varchar(40),
@endDate varchar(40)
)
AS
BEGIN
select PlugPercentage,TimeInspected from statistic where RecordNo =
@RecordNo and TimeIninterval between(@startDate) and (@endDate)
return
END
GO

I passed 3 input parametrs.
How to use this storedprocedure to my C# program and pass the parameters to
the crystal report.
The user woould change the timeinterval and recordNo.According to change the
timeinverval and Recordno we want draw the graph.
I am new to this.
If any one knows please let me know....if sample C#, Storedprocedure source
code would be greatly appreciate.

Thanks,
Joe
Jul 19 '05 #1
0 4893

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

Similar topics

1
by: DeeCay | last post by:
Dear folks, I was trying to write a .Net web application (using C#) that loads a Crystal Report on server side, export the report in PDF format as a file in the web server, and then serves up...
13
by: kristoff plasun | last post by:
I have a problem with a C++ DCOM application that prints Crystal Reports with data from Oracle. The SQL query is relatively complex but when the report is printed from the Crystal Reports...
1
by: Scott | last post by:
Hello: I have a stored procedure for generating our invoices in Crystal Reports. I have added a new field to the SP, but when I try to add the field to my Crystal Report invoice, the field isn't...
2
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....
1
by: Joe | last post by:
Hi friends, I need dynamically generate the crystal line graph from the c# application. i used stored procedure.but i don't know how to connect the C#, stored procedure and crystal report. 1....
0
by: Joe | last post by:
Dear Friends, I want dynamically create the Graph from C# application. The graph would be timeInterval VS percentage. timeInterval percentage Recordno 8/2/2003...
0
by: Craig Faulkner | last post by:
I have been fighting through my first crystal report in VS2003.NET and have made some headway. Here is what I've done: 1. Created a crystal report in VS2003 from a SQL stored procedure with...
12
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...
0
by: Joe | last post by:
Dear Friends, I want dynamically create the Graph from C# application. The graph would be timeInterval VS percentage. timeInterval percentage Recordno 8/2/2003...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

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.