Converting a dataset to JSON using .NET 3.5 in C#

前端 未结 5 1644

I have been searching for a simple way to convert a dataset from a PostgreSQL database to JSON for use in a project that I am building.

This is my first time using J

5条回答
  •  清酒与你
    2020-12-19 09:25

    Use Newtonsofts Json.Net and check out DataTable JSON Serialization in JSON.NET and JavaScriptSerializer where it's used to create a DataSet-to-JSON converter.

提交回复
热议问题