Groups | Blog | Home
all groups > dotnet framework > september 2006 >

dotnet framework : How to pass a Dataset as a parameter to a WebService


Poornima
9/30/2006 1:10:06 AM
I need to pass a DataSet from my windows application in vb.net to a
webservice .
Thanks In Advance
Chris Mullins
9/30/2006 11:17:10 AM
[quoted text, click to view]

<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

Michael Nemtsev
9/30/2006 1:30:02 PM
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

AddThis Social Bookmark Button