首页
Python
Java
IOS
Andorid
NodeJS
JavaScript
HTML5
【
GetJsonByDataTable
】的更多相关文章
GetJsonByDataTable
public string getJsonByModel(DataTable dt) { StringBuilder nsb = new StringBuilder(); ; i < dt.Rows.Count; i++) { StringBuilder sb = new StringBuilder(); sb.Append("{"); foreach (DataColumn mDc in dt.Columns) { if (dt.Rows[i][mDc] != null) {…