Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing DataSet across Web Service
Message
De
11/10/2003 17:02:57
 
 
À
11/10/2003 16:49:43
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Divers
Thread ID:
00837848
Message ID:
00837854
Vues:
26
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform