public string WorkType() { DataTable dt = new BLL.BaseDictionaryDetail().GetList(" catgID=13").Tables[0]; dt.Rows.InsertAt(dt.NewRow(), 0); dt.Rows[0]["Value"] = -1; dt.Rows[0]["Caption"] = "请选择"; string result = JsonHelper.DataTable2Json_Combo(dt); return(result); }
private string GetPriceMethodsComboBox(int CatgID) { DataTable dt = new BLL.BaseDictionaryDetail().GetList(CatgID).Tables[0]; return(DBUtility.JsonHelper.DataTable2Json_ValueText(dt, "value", "text")); }