asp.net DataTable和Dataset序列化成Json格式
DataTableToJson:
调用的话:Dictionary<string, object> dt = Resolve.DataRowFromJSON(requestbuffer, context);
调用的话:JavaScriptConvert.SerializeObject(GetTestDataSet(), new DataSetConverter());
DataTableToJson2:
调用的话:JavaScriptConvert.SerializeObject(GetTestDataTable(), new DataTableConverter());