How to pass a Dataset as a parameter to a WebService

  • Thread starter Thread starter Poornima
  • Start date Start date
P

Poornima

I need to pass a DataSet from my windows application in vb.net to a
webservice .
Thanks In Advance
 
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
 
Poornima said:
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.
 
Back
Top