tags:

views:

147

answers:

1

I am getting data from xml webservice. The data is coming in:

<![CDATA]> like <![CDATA[Semi-Detached, Didcot]]>.

I have used HtmlEncode to convert or get data from above tag but unable to get data. I wanna get data from <![CDATA]> tag and display in a grid.

Thanks in adavance

A: 

using linq to xml, something along the lines of

var xml = XDocuemnt.Parse(responseString);

var result from x in xml.Descendants("nodeName").
           where x.Attribute("ID") == 1
           select x.something;

There are loads of methods for this.

Paul Creasey
My data is coming in dataset and I am not using Linq. My application is in VS 2005.
Deepak