Sunday, March 11, 2012

Passing Multiple Values?

hello.

json serialization supports complex objects. so, the easiest way to receive those values is to build a class with 2 fields and set it as the return type of the web method you're calling.


I am new to all this. Do you have an example you can provide that will demonstrate this?


hello again.

take a look here:

http://atlas.asp.net/docs/atlas/doc/services/consuming.aspx#complex

returning a complex type is easy: just set the return type of the method to that type and you're done.


Thanks for the help. I appreciate your time.

Daniel

No comments:

Post a Comment