Source: Demtron Blog

Demtron Blog Converting .Net DataTable to an XML String

Here is a snippet of code that will convert a VB.Net DataTable into a string of XML.Dim SB As New StringBuilder Dim SW As New IO.StringWriter(SB) Items.WriteXml(SW, Data.XmlWriteMode.WriteSchema)This code writes the contents and schema of the DataTable in to a StringBuilder by way of a StringWriter object.

Read full article »
Est. Annual Revenue
$25-100M
Est. Employees
100-250
CEO Avatar

CEO

Update CEO

CEO Approval Rating

- -/100