Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling Stored Procedure with two parameters
Message
From
13/10/2010 10:43:16
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01485066
Message ID:
01485316
Views:
25
>>>>>
>>>>>Anyone can please clarify?
>>>>
>>>>I think you were the only one who came up with four parameters (didn't see Frank attempting to use that many...)
>>>
>>>Check his post - that's exactly how he invoked this function.
>>
>>Which post?
>>This is all I saw :
this.ExecSprocScalar("OutputParamTest", out cmd, param1);
>>
>>
>>>Frank, can you provide your exact code one more time?
>
>Expand the whole thread.

OK. I posted a reply but it disappeared. Having seen Frank's post:
If a parameter is specified as an array then you can either pass a single dimensioned array or a list of items of a valid type. e.g
void Something (params int[] numbers){}
can be called so:
int[] x = {1, 2, 3};
Something (x);
//or
Something(1,2,3);
HTH,
Viv
Previous
Reply
Map
View

Click here to load this message in the networking platform