|
How can I save any data on the server that I may collect on the client ? -- JosephGuadagno --
All you need to send the ds1 to an ASP.NET method that accepts a DataSet as a parameter. There is an example on my site at http://josephguadagno.net/ajax.aspx as well as a quick start guide.Joseph Guadagno http://josephguadagno.net sirkhanh wrote: First I create a new dataset from client : <Client side> <script type=text/javascript> var ds1 = new Ajax.Web.DataSet(); var dt = new Ajax.Web.DataTable(); dt.addColumn("FirstName", "System.String"); dt.addColumn("Age", "System.Int32"); dt.addRow({"FirstName":"Michael","Age":28}); dt.addRow({"FirstName":"Tanja","Age":25}); ds1.addTable(dt); </script> How can I save this dataset on the server or change it to xml and send to an URL? Please help me! |