﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » Trouble with Stored procedure Parameter</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 08 Apr 2026 05:40:23 GMT</lastBuildDate><ttl>20</ttl><item><title>Trouble with Stored procedure Parameter</title><link>http://forum.strataframe.net/FindPost25399.aspx</link><description>I am trying to use a FillByStoredProcedure command&amp;nbsp; &lt;/P&gt;&lt;P&gt;I have a command like:&amp;nbsp; 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.&lt;/P&gt;&lt;P&gt;I have tried to set up the parameter with :&lt;/P&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;&lt;P&gt;System.Data.Common.DbParameter MyParam = new System.Data.Common.DbParameter&lt;/P&gt;&lt;P&gt;but it gives me a ...cannot create instance of an abstract class&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description><pubDate>Mon, 14 Dec 2009 17:49:36 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: Trouble with Stored procedure Parameter</title><link>http://forum.strataframe.net/FindPost25402.aspx</link><description>[quote][b]Gerard O Carroll (12/14/2009)[/b][hr]Hi Edhy... I had looked there earlier but could only see an example in VB..have gone back now and converted it to c# and it sems to be working.. thnaks for your help.[/quote]&lt;br&gt;
&lt;br&gt;
Hi Gerard,&lt;br&gt;
&lt;br&gt;
Yeap, that is what I do all the time, when need something and found it in Google :P  Glad the sample worked for you, I use SP a lot now.</description><pubDate>Mon, 14 Dec 2009 17:49:36 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Trouble with Stored procedure Parameter</title><link>http://forum.strataframe.net/FindPost25401.aspx</link><description>Hi Edhy... I had looked there earlier but could only see an example in VB..have gone back now and converted it to c# and it sems to be working.. thnaks for your help.</description><pubDate>Mon, 14 Dec 2009 17:25:35 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: Trouble with Stored procedure Parameter</title><link>http://forum.strataframe.net/FindPost25400.aspx</link><description>Hi Gerard,&lt;br&gt;
&lt;br&gt;
In the SF help file, do a search using "FillByStoredProcedure" without quotation, you will find a sample on how to use the FillByStoredProcedure.</description><pubDate>Mon, 14 Dec 2009 16:55:21 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item></channel></rss>