Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i was told that the webservice returns xml, i also found it by writing
after creating proxy of that method , i wrote
C#
DS.WRITEXML(PATH,XMLWRITEMODE.WRITESCHEMA);
now when i was tring to implement the same i am not getting
my webmethod is
C#
[WebMethod]
        public string getdetails()
        {
            XDocument xd = XDocument.Load(@"D:\satish1\na.xml");
            var query = from p in xd.Descendants("item")
                        select new
                        {
                            name = p.Element("title").Value,
                            des = p.Element("description").Value
                        };
            return query.ToString();
ds=proxy.getdetails();

I am not getting this thing it is saying cannot convert string to system .data.dataset.can i di this in any way.plz help me
Posted
Updated 19-Dec-11 18:33pm
v2
Comments
Wendelius 20-Dec-11 0:33am    
Pre tags added

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