Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将数据从数据库中获取到数据集对象,然后在服务器端我想将数据集绑定到 jQuery 表,但该表接受JSON对象。
如何将 DataSet 对象转换为 JSON 以传递给 jQuery 表?
You can use Newtonsofts Json.Net and see this example which is using datatable serialization to JSON.