Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing DataSet across Web Service
Message
From
11/10/2003 17:02:57
 
 
To
11/10/2003 16:49:43
General information
Forum:
ASP.NET
Category:
Web Services
Miscellaneous
Thread ID:
00837848
Message ID:
00837854
Views:
27
I don't think the problem is with returning the DataSet, I think it's in your WebService itself ... you never instantiated the loData object:
<WebMethod()> _
Public Function GetForumDataSet() As DataSet

   ' Get the XML string as before
   lcHtml=...

   ' However, in this method, we will now convert it into a DataSet
   Dim loData As DataSet

   ' I Added this line:
   loData = new DataSet

   loData=ImportXML(loData, lcHtml)
   Return loData
End Function
~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform