DataTable to Json using jquery

前端 未结 9 1222
抹茶落季
抹茶落季 2020-12-16 05:48

I\'m trying to execute a web service which returns a DataTable with the following piece of code:

$.ajax({  
    type: \"POST\",  
    url: url,  
    data: d         


        
9条回答
  •  孤城傲影
    2020-12-16 06:02

    Json.NET has the ability to write DataSets/DataTables to JSON.

    http://james.newtonking.com/archive/2008/09/06/dataset-datatable-serialization-with-json-net.aspx

提交回复
热议问题