G
Guest
I have web service always return a string in Xml format, and I have the code
at client side translates this return string into correct value. For example:
my web service returns a <ret type=â€System.intâ€>1</ret>.
So my client logic will translate this into integer value of one by using
Type.GetType() function. Likewise, if my web service returns a <ret
type=â€System.Stringâ€>abc</ret>, my client again translates this into string
type. My problem is when I try to return a System.Data.DataTable in my return
Xml string, and Type.GetType()can not return a System.Data.DataTable type for
me due to System.Data is not in mscorlib. I like to know is there other way
to create a Type based on return string.
at client side translates this return string into correct value. For example:
my web service returns a <ret type=â€System.intâ€>1</ret>.
So my client logic will translate this into integer value of one by using
Type.GetType() function. Likewise, if my web service returns a <ret
type=â€System.Stringâ€>abc</ret>, my client again translates this into string
type. My problem is when I try to return a System.Data.DataTable in my return
Xml string, and Type.GetType()can not return a System.Data.DataTable type for
me due to System.Data is not in mscorlib. I like to know is there other way
to create a Type based on return string.