M
MuZZy
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
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