Read a String as XML in .NET 2.0

Posted by Chin on Stack Overflow See other posts from Stack Overflow or by Chin
Published on 2011-03-04T17:17:28Z Indexed on 2011/03/07 0:10 UTC
Read the original article Hit count: 193

Filed under:
|
|

I have a string that is coming from DB. I would like to read this as XML. String looks like below

<settings>
  <setting name="OfferIDs" value="47,48,49,50,51,52,53,76,77,78,79" />
  <setting name="someothersetting" value="" />
  <setting name="anothersetting" value="" />
</settings>

I would like get the value of OfferIDs as a string using VB.NET. Many Thanks in advance.

© Stack Overflow or respective owner

Related posts about Xml

Related posts about vb.net