M
MattB
I get a dataset passed as a string in my application (passed from a c++
dll) and I convert it to a usable dataset like this:
Dim XMLRead As New System.IO.StringReader(lcXML)
myDataSet.ReadXml(XMLRead)
ItemGrid.DataSource = myDataSet.Tables.Item(1)
ItemGrid.DataBind()
My question is: how do I do the reverse? Now I need to turn it back into a
string. The few things I've tried don't quite work (using a StringWriter).
Can anyone give me a quick example? I thnk I'm pretty close. Thanks!
dll) and I convert it to a usable dataset like this:
Dim XMLRead As New System.IO.StringReader(lcXML)
myDataSet.ReadXml(XMLRead)
ItemGrid.DataSource = myDataSet.Tables.Item(1)
ItemGrid.DataBind()
My question is: how do I do the reverse? Now I need to turn it back into a
string. The few things I've tried don't quite work (using a StringWriter).
Can anyone give me a quick example? I thnk I'm pretty close. Thanks!