Click or drag to resize
JsonHelperToJosn Method (DataTable, String, String, Boolean)
将 DataTable 形式的数据转换成Json的形式的数据

Namespace: X3Platform.Util
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public static string ToJosn(
	DataTable dataTable,
	string selectedColumnName,
	string selectedValue,
	bool removeAjaxStorageRoot
)

Parameters

dataTable
Type: System.DataDataTable
数据源
selectedColumnName
Type: SystemString
下拉框匹配的列名
selectedValue
Type: SystemString
下拉框选中项的值
removeAjaxStorageRoot
Type: SystemBoolean

[Missing <param name="removeAjaxStorageRoot"/> documentation for "M:X3Platform.Util.JsonHelper.ToJosn(System.Data.DataTable,System.String,System.String,System.Boolean)"]

Return Value

Type: String

[Missing <returns> documentation for "M:X3Platform.Util.JsonHelper.ToJosn(System.Data.DataTable,System.String,System.String,System.Boolean)"]

See Also