Пример #1
0
        public string sSaveBox(string sCode, DataTable dtBarCode)
        {
            string sReturn = "";

            try
            {
                TH.WebService.DAL._BarCodeList DAL = new TH.WebService.DAL._BarCodeList();

                if (dtBarCode == null || dtBarCode.Rows.Count == 0)
                {
                    sReturn = "获得条形码列表失败";
                }
                else
                {
                    int iCou = DAL.iBarCodeBox(sCode, dtBarCode);

                    sReturn = "装箱成功:" + dtBarCode.Rows.Count.ToString() + "条";
                }
            }
            catch (Exception ee)
            {
                sReturn = ee.Message;
            }
            return(sReturn);
        }