Home All Groups Group Topic Archive Search About

Optional Parameter Dataset default Value

Author
12 Dec 2006 6:45 PM
mianiro
Im setting up a procedure with an optional dataset parameter in VB.net.
You must set a default value for optional parameters.  Does anyone
know how to set the default value of a dataset to nothing?  I tried
DBNull but that did not work.  Any help would be appreciated!  Thanks

Author
12 Dec 2006 6:59 PM
Josip Medved
> know how to set the default value of a dataset to nothing?  I tried

If I understood correctly:

....(Optional something As DataSet = Nothing)

--
Greetings,
  Josip Medved
  http://www.jmedved.com
Author
12 Dec 2006 7:02 PM
mianiro
worked!  thank you!!!
Josip Medved wrote:
Show quote
> > know how to set the default value of a dataset to nothing?  I tried
>
> If I understood correctly:
>
> ...(Optional something As DataSet = Nothing)
>
> --
> Greetings,
>   Josip Medved
>   http://www.jmedved.com

AddThis Social Bookmark Button