|
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 = "<script> localStorage.setItem('key1', '" & xml & "'); </script>"
ScriptManager.RegisterClientScriptBlock(Me, Me.GetType(), "showmessage1", str, False)
|
|
|
|