|
|
 |
| ADO.NET For discussion about ADO.NET. Topics such as question regarding the System.Data namespace are appropriate. Questions specific to a particular application should be posted in a forum specific to the application . |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ADO.NET section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

July 14th, 2004, 05:09 AM
|
|
Authorized User
|
|
Join Date: May 2004
Location: Trivandrum, Kerala, India.
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
How to fill stored procedure in dataset.
hi,
I can fill the stored procedure(with out parameters) in the dataset using dataset controls, But I want to fill
the stored procedure with parameters, I did't get it. Is it possible?
How? Because I want to create a crystal Reports using stored Procedure with parameters.
Thanx
By
Jayaraj.
|

July 14th, 2004, 06:04 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
Hey,
You can set the stored procedure parameters for the data adapter, as such:
objadapter.selectcommand.parameters.add("@param", SQLDbType.Int, 10).Value = <value or variable>
You can use parameters, although through a typed data adapter, I don't know how. You may have to edit it manually.
Brian
|

July 14th, 2004, 11:53 PM
|
|
Registered User
|
|
Join Date: Jul 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Yee! I agreed!
|

August 2nd, 2004, 03:40 AM
|
|
Registered User
|
|
Join Date: Aug 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
set rs = cn.execure ("storeprocedur")
|

August 2nd, 2004, 03:40 AM
|
|
Registered User
|
|
Join Date: Aug 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Report.Database.SetDataSource rs
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |