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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top