c# - Deserialization NOT from a file -


i have problem deserialization. deserialize method takes stream or text reader argument, , xml not stored file, can't read (or, don't know how read it).

in fact, receive xml web services method returns dataset. can have xml use of "getxml" method, cant use deserialize()

of course, use xmlwriter create xml file data , read file after deserialize, doesn't method me.

a little appreciated !

use stringreader class.

using(var reader = new stringreader(dataset.getxml())) {    ..... } 

Comments

Popular posts from this blog

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -