By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,084 Members | 1,969 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,084 IT Pros & Developers. It's quick & easy.

Serializing DataTable Problem

P: n/a
As i am passing datatable from webservice to UI

My Web Method is as follows :-
Public Function GetData() As DataTable
Dim objData As New MyClass
Return objData.GetData()
End Function

In my Web Reference i am getting reference as (Partial Class name)
Partial Class GetDataResponseGetDataResult

So, if i have to access this webmethod from my UI then i have to change
"GetDataResponseGetDataResult" to "datatable" and has to delete the Partial
class in order to use the existing defination (This is the same case i had
faces in .NET 2003 when working with datasets)
Now whenever i change my web method class so 2005 updates the web
reference and the datatable is again replaced by .NET to that Partial Class
What should i do to avoid such situation.
Mar 23 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.