Home All Groups Group Topic Archive Search About

How to pass a Dataset as a parameter to a WebService

Author
30 Sep 2006 8:10 AM
Poornima
I need to pass a DataSet from my windows application in vb.net to a
webservice .
Thanks In Advance

Author
30 Sep 2006 1:30 PM
Michael Nemtsev
Hello Poornima,

And what's wrong?
Just set "DataSet ds" as param of your WebService method

P> I need to pass a DataSet from my windows application in vb.net to a
P> webservice .
P> Thanks In Advance
---
WBR,
Michael  Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Author
30 Sep 2006 6:17 PM
Chris Mullins
"Poornima" <poornima.venkatara***@gmail.com> wrote in message
news:1159603806.752826.33040@m7g2000cwm.googlegroups.com...
>I need to pass a DataSet from my windows application in vb.net to a
> webservice .
> Thanks In Advance
>

<WebMethod()> _
public sub MyMethod(argument as System.Data.Dataset)
end sub

It's really that easy.

--
Chris Mullins, MCSD.NET, MCPD:Enterprise
http://www.coversant.net/blogs/cmullins

AddThis Social Bookmark Button