Report, reportviewer and stored procedure

  • Thread starter Thread starter Morten Snedker
  • Start date Start date
M

Morten Snedker

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
 
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!
********************************************
 
On Thu, 25 Jan 2007 09:12:46 -0600, "Cowboy \(Gregory A. Beamer\)"

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

Thx!
 
Back
Top