我可以通过json结果返回数据集来查看吗? [英] Can I return dataset to view through the json results ?

查看:71
本文介绍了我可以通过json结果返回数据集来查看吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望返回数据集通过json结果查看。



有可能吗?那么请告诉我!



提前致谢。

Anand。

I want return dataset to view through the json results.

Is it possible? then please let me know!

Thanks in advance.
Anand.

推荐答案

您可以使用JSON.Net将数据集序列化为JSON。

查看示例 here [ ^ ]。



你也可以尝试 JavaScriptSerializer - 使用VB.NET将DataSet或XML转换为JSON [ ^ ]。
You can serialize a dataset into JSON using JSON.Net.
See an example here[^].

You can also try the JavaScriptSerializer - Convert DataSet or XML to JSON using VB.NET[^].


这篇关于我可以通过json结果返回数据集来查看吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆