Ejemplo n.º 1
0
 public void GetMaterialType()
 {
     try
     {
         string    CabinetIDs = Request["CabinetIDs"];
         Database  db         = new Database("BE_OrderDetail_Proc", "GETMETERIALS", 0, 0, "", "", CabinetIDs);
         DataTable dt         = db.ExecuteDataTable();
         Response.Write(JSONHelper.DataTableToJSON(dt));
     }
     catch (Exception ex)
     {
         WriteError(ex.Message, ex);
     }
 }