Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling Stored Procedure with two parameters
Message
 
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01485066
Message ID:
01485315
Views:
23
>>>>
>>>>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.
>
>Maybe I missed where he was trying to do this but, to answer your question if a parameter consisting of an array you can either pass in a single dimensioned array or a list or individiual items (assuming they are of the correct type):
void Something(params int[] nums)
>{
>}
Can be called as:
int[] x = {1, 2, 3};
>Something(x);
>//or
>ShowNumbers (1,2,3);
HTH,
>Viv

How will it work, if you have:

void Something(params int[] nums, bool PerformSomething)
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform