Hmmm ... and you're binding the DataSet to the DataGrid the same way (after you call the WebService to get the data)? If so, I'm not sure what the problem might be now ... check out things like maybe the Table name. You're sure the DataSet is being returned correctly and that there's data in the DataSet?
~~Bonnie
>>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
>>
>
>You're right. I forgot to include that line. Now, the application runs without an error. However, the data doesn't appear in the grid.
>
>With the same code, if I call the GetForum() instead, which is returning XML string, the data appears in the grid. But, when we call the GetForumDataSet() from the Web Service and that it returns the DataSet, no data appears.