LINQ SQL innerxml equivalent

by Tim 12. February 2010 14:16

A note to myself, if you have an xElement and want to get just the inner xml then this is the way to do it:

' Get the "inner xml" of the element
Dim oReader = RequestElement.CreateReader()
oReader.MoveToContent()
Dim asstring = oReader.ReadInnerXml()

Tags:

LINQ | .NET

Comments (2) -

Rob
Rob United States
1/4/2011 11:02:03 PM #

Sweet. Been looking for this for a while and was glad to find it. Thanks.

http://www.mutuelle-et-optique.com
http://www.mutuelle-et-optique.com France
10/29/2011 1:00:34 PM #

Loved the blog and it’s a great idea.

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

TextBox