N
Nuzi
i m using autosproc, which uses reflection to dynamically gernerate
wrapper classes.
i m getting exception when i m going to create instance of that class
which implements the interface(it is dynamically generated class)
"
sprocFactory.CreateInstance(typeof(interfaceName),DBprovider.sqlserver)"
when i execute this statement then get the exception" INDEX WAS
OUTSIDE THE BOUND OF AN ARRAY"
even interface's method has parameters which exactly match the
storedprocedure's parameters.
NOTE:
1) i get this exception when procedure has more than one output
parameter, i meant to say that when method(signature only) in
interface which contains more than one by reference parameter(with ref
keyword for C#).
2) for zero or one parameter it doesnt throw an exception and
successfully returns the instance of that class.
plz any one can solve my problem!!!
wrapper classes.
i m getting exception when i m going to create instance of that class
which implements the interface(it is dynamically generated class)
"
sprocFactory.CreateInstance(typeof(interfaceName),DBprovider.sqlserver)"
when i execute this statement then get the exception" INDEX WAS
OUTSIDE THE BOUND OF AN ARRAY"
even interface's method has parameters which exactly match the
storedprocedure's parameters.
NOTE:
1) i get this exception when procedure has more than one output
parameter, i meant to say that when method(signature only) in
interface which contains more than one by reference parameter(with ref
keyword for C#).
2) for zero or one parameter it doesnt throw an exception and
successfully returns the instance of that class.
plz any one can solve my problem!!!