Tuesday, April 5, 2011

ASP change dataset in string and response.write() on browser

Dim sw As New StringWriter()
dt.DataSet.WriteXml(sw, XmlWriteMode.WriteSchema)
Dim s As String = sw.ToString()
Response.Write("")
Response.Write(s)

1 comment: