Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public ActionResult GetGoodsListFromSql(string str) { StringBuilder _str = new StringBuilder(); List <t_goods> list = GoodsDAL.GetGoodsListFromSql(str); var res = from c in list select new { goods_id = c.id, value = c.goodsName + "(" + c.id + ")" }; return(Json(res)); }