473,473 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Report, reportviewer and stored procedure

A reportviewer uses a Dataset to deliver data. The data comes from a
stored procedure that takes 1 parameter (ID), to pass the correct
record.

How do I pass this parameter to the dataset?

Regards /Snedker
--
http://www.dbconsult.dk
http://www.vinthervej2.dk [private]
Jan 25 '07 #1
2 4570
That depends on how your data layer is setup. If you used table adpaters,
you have the code attached to the dataset. If not, you have to run the SQL
to fill the dataset yourself. Hope this helps.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

********************************************
Think outside the box!
********************************************
"Morten Snedker" <morten_spammenot_ATdbconsult.dkwrote in message
news:10********************************@4ax.com...
>A reportviewer uses a Dataset to deliver data. The data comes from a
stored procedure that takes 1 parameter (ID), to pass the correct
record.

How do I pass this parameter to the dataset?

Regards /Snedker
--
http://www.dbconsult.dk
http://www.vinthervej2.dk [private]
Jan 25 '07 #2
On Thu, 25 Jan 2007 09:12:46 -0600, "Cowboy \(Gregory A. Beamer\)"
<No************@comcast.netNoSpamMwrote:

It did. It moved my focus from the Dataset to the SqlDataSource, which
was the one to do "stuff" in.

Thx!
>That depends on how your data layer is setup. If you used table adpaters,
you have the code attached to the dataset. If not, you have to run the SQL
to fill the dataset yourself. Hope this helps.
--
http://www.dbconsult.dk
http://www.vinthervej2.dk [private]
Jan 25 '07 #3

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

Similar topics

8
by: Mark Flippin | last post by:
This is for a reporting problem using: Access 2000 SQL Server 2000 Both at SP3 I've a stored procedure in SQL Server 2000 which builds a result set from a disparate set of tables, utilizing...
8
by: lauren quantrell | last post by:
When I open an Access form I can have no recordset specified, then in the form's OnOpen event I can do something like: Me.paramaters = "@SomeColumn = 22)" Me.recordsource = "dbo.sproc123" But I...
2
by: ashok.ponnusamy | last post by:
i am using crystal report in my aspx page. i am using stored procedure to generate the report. it's work fine and shows the result based on parameter input. but it doesn't show any reportviewer...
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...
7
by: steve | last post by:
Hi All I need to change text in a Report Viewer document at runtime It is just the heading I want to change to match what the user has chosen as the Report to view How do I access the...
3
by: steve | last post by:
Hi All I have a VB.net 2005 app which uses MS Report Viewer to create reports Occassionally I get the following error when changing to a different report User code running on thread 196 has...
0
jgroos
by: jgroos | last post by:
Here is my scenario: I have two different reports processed LOCALLY, lets say Report1.rdlc and Report2.rdlc. They both are populated with data from a database, and they both also take a list of...
0
by: jobs | last post by:
Re: SSRS report viewer Execution ' ' cannot be found (rsExecutionNotFound) Reserved.ReportViewerWebControl.axd Every now and then, my users get this error while in the Reportviewer. Usually,...
1
by: Jassim Rahma | last post by:
anyone has a code sample to connect the Microsoft Report Viewer Control using Microsoft SQL Server stored procedure?
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,...
0
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
1
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...
0
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...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.