Beispiel #1
0
        public void GetMilkProductsTestBeforePackingQCDetails(RMRecieve R)
        {
            bmptbpqc = new BMilkProductsTestBeforePackingQC();
            DataSet DS = new DataSet();

            DS = bmptbpqc.GetMilkProductsTestBeforePackingQCDetails(R);
            if (!Comman.Comman.IsDataSetEmpty(DS))
            {
                rpMilkBeforePackingQC.DataSource = DS;
                rpMilkBeforePackingQC.DataBind();
            }
            else
            {
                rpMilkBeforePackingQC.DataSource = DS;
                rpMilkBeforePackingQC.DataBind();
            }
        }
        public void GetMilkProductsTestBeforePackingQCDetails(string dates)
        {
            bmptbpqc = new BMilkProductsTestBeforePackingQC();
            DataSet DS = new DataSet();

            DS = bmptbpqc.GetMilkProductsTestBeforePackingQCDetails(dates);
            if (!Comman.Comman.IsDataSetEmpty(DS))
            {
                rpMilkBeforePackingQC.DataSource = DS;
                rpMilkBeforePackingQC.DataBind();
            }
            else
            {
                DS.Clear();
                rpMilkBeforePackingQC.DataSource = DS;
                rpMilkBeforePackingQC.DataBind();
            }
        }