Beispiel #1
0
        protected override DataRow GetGridRow(object obj)
        {
            DataRow row = this.DtSource.NewRow();

            BenQGuru.eMES.Material.SendCaseDetails s = (BenQGuru.eMES.Material.SendCaseDetails)obj;
            row["CARTONNO"]     = s.CARTONNO;
            row["GFHWITEMCODE"] = s.GFHWITEMCODE;
            row["DQMCODE"]      = s.DQMCODE;
            row["CUSITEMDESC"]  = s.CUSITEMDESC;
            row["MDESC"]        = s.MDESC;
            row["QTY"]          = s.QTY;
            row["SN"]           = s.SN;


            return(row);
        }
        protected override DataRow GetGridRow(object obj)
        {
            DataRow row = this.DtSource.NewRow();

            BenQGuru.eMES.Material.SendCaseDetails s = (BenQGuru.eMES.Material.SendCaseDetails)obj;
            row["CARTONNO"]       = s.CARTONNO;
            row["GFHWITEMCODE"]   = s.GFHWITEMCODE;
            row["HWCODEQTY"]      = s.HWCODEQTY;
            row["CUSITEMDESC"]    = s.CUSITEMDESC;
            row["DQMCODE"]        = s.DQMCODE;
            row["MDESC"]          = s.MDESC;
            row["CUSITEMSPEC"]    = s.CUSITEMDESC;
            row["QTY"]            = s.QTY;
            row["UNIT"]           = s.UNIT;
            row["B1"]             = "";
            row["VENDERITEMCODE"] = s.VENDERITEMCODE;
            row["PACKINGWAYNO"]   = s.PACKINGWAYNO;

            return(row);
        }