Beispiel #1
0
        public void GetDrainedMilkQCDetails(RMRecieve R)
        {
            bdrainedqc = new BReturnDrainedMilkQualityQC();
            DataSet DS = new DataSet();

            DS = bdrainedqc.GetDrainedMilkQCDetails(R);

            if (!Comman.Comman.IsDataSetEmpty(DS))
            {
                rpReturnDrainedMilkQC.DataSource = DS;
                rpReturnDrainedMilkQC.DataBind();
            }
            else
            {
                rpReturnDrainedMilkQC.DataSource = DS;
                rpReturnDrainedMilkQC.DataBind();
            }
        }
        public void GetDrainedMilkQCDetails(string dates)
        {
            bdrainedqc = new BReturnDrainedMilkQualityQC();
            DataSet DS = new DataSet();

            DS = bdrainedqc.GetDrainedMilkQCDetails(dates);

            if (!Comman.Comman.IsDataSetEmpty(DS))
            {
                rpReturnDrainedMilkQC.DataSource = DS;
                rpReturnDrainedMilkQC.DataBind();
            }
            else
            {
                DS.Clear();
                rpReturnDrainedMilkQC.DataSource = DS;
                rpReturnDrainedMilkQC.DataBind();
            }
        }