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]