Trouble with Stored procedure Parameter


Author
Message
Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
I am trying to use a FillByStoredProcedure command 

I have a command like:  This.MyBO.FillByStoredProcdure("MyStoredProcedure","DontKnoWhatToPutHere"). I have he stored procedure set up in the database and that part of it is working fine. Just not sure of the syntax to set up the Parameter and give it a value.

I have tried to set up the parameter with :

System.Data.Common.DbParameter MyParam = new System.Data.Common.DbParameter

but it gives me a ...cannot create instance of an abstract class


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search