A
Ashish
hi All,
Iam facing a peculiar problem, where i would like to parse the passed
parameters and would like to figure out which ones are marked 'out'. For
example the method signature is
public DataSet SearchItems(string procname, params objects[] values)
{
// call database here
}
and calling code can look like
int count;
DataSet ds = SearchItems("usp_searchme","John","Doe",out count);
In the SearchItems i would like to pass the count as out paramater to
the stored proc and would like to fetch its value back
Any ideas how i could implement this ?
thanks
Iam facing a peculiar problem, where i would like to parse the passed
parameters and would like to figure out which ones are marked 'out'. For
example the method signature is
public DataSet SearchItems(string procname, params objects[] values)
{
// call database here
}
and calling code can look like
int count;
DataSet ds = SearchItems("usp_searchme","John","Doe",out count);
In the SearchItems i would like to pass the count as out paramater to
the stored proc and would like to fetch its value back
Any ideas how i could implement this ?
thanks