ASP.NET Local Storage save a item of DataSet XML failture
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
I use ASP.NET with VB. myDataSet is a DataSet with some data. I want to save the DataSet XML to Local Storage and then load the item from Local Storage offline. But now I seem to be failed to write the item of xml to Local Storage. Does somebody know how to solve this problem?
Dim xml As String = myDataSet.GetXml()
Dim str As String = " localStorage.setItem('key1', '" & xml & "'); "ScriptManager.RegisterClientScriptBlock(Me, Me.GetType(), "showmessage1", str, False)