HighTechTalks DotNet Forums  

Passing an object containing multiple DataSet's to a WebMethod

ASP.net Web Services microsoft.public.dotnet.framework.aspnet.webservices


Discuss Passing an object containing multiple DataSet's to a WebMethod in the ASP.net Web Services forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
MuZZy
 
Posts: n/a

Default Passing an object containing multiple DataSet's to a WebMethod - 03-23-2006 , 08:59 PM






Hi,

My problem is the following: i have a class like:
[Serializable]
class c{
public DataSet m_dsFirst;
public DataSet m_dsSecond;
public string m_sName;
void c()
{
m_sName="Test";
m_dsFirst = <some dataset>;
m_dsSecond = <some other dataset>;
}
}

Now, when i pass an object of this class as a return value of a web
method (or as an argument to a web method), it doesn't serialize those
datasets, all i see is m_sName.

How do i use such a class with web services?

Thank you,
MuZZy

Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default RE: Passing an object containing multiple DataSet's to a WebMethod - 03-24-2006 , 06:12 AM






Hi MuZZy,

Thank you for posting.

Regarding on this issue I have seen your another duplicated thread in the
following newsgroup:

Newsgroups: microsoft.public.dotnet.framework.webservices
Subject: Passing an object containing multiple DataSet's to a WebMethod

I have posted my response there. If you feel it convenient that we continue
to discuss in that thread. please feel free to post there.

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may

learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.