Click here to Skip to main content
16,010,918 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
C#
public response populatexml(string xmlresponse)
{
if(xmlresponse == string.empty)
{
return null;
}
xmldocument reps = new xmldocument();
reps.loadxml(httputilities.htmldecode(xmlresponse));

response res = new response();
 this.parseresponse (res, reps)
return res;
}

This is my first class.

And in my secound class i have a method.
C#
public string setchanneldata(string xml)
{
here i want to set the response of the 1st class xml response.

}


So please help me how can I do that?
Posted
Updated 13-Dec-11 17:45pm
v2
Comments
prince_rumeel 13-Dec-11 8:44am    
is there anyone who can help me?

public string setchanneldata(string xml)
{
here i want to set the response of the 1st class xml res.
the res of the other class
}
Sergey Alexandrovich Kryukov 13-Dec-11 9:42am    
Then use "Improve question" above. Make the code accurate (it is not, capitalization is lost), use "pre lang="cs"" tag, fully qualify all types; explain what's "response" and all what is relevant.
--SA
AmitGajjar 14-Dec-11 0:24am    
For comment pre is not possible...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900