JsonHelper.ToJson Method (DataSet)

HD.Common

JsonHelperToJson Method (DataSet) Helper帮助文档
DataSet转换为Json

Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static string ToJson(
	DataSet dataSet
)
Public Shared Function ToJson ( 
	dataSet As DataSet
) As String
public:
static String^ ToJson(
	DataSet^ dataSet
)
static member ToJson : 
        dataSet : DataSet -> string 

Parameters

dataSet
Type: System.DataDataSet
DataSet对象

Return Value

Type: String
Json字符串
See Also

Reference