Esempio n. 1
0
        public void GetQualityDetails(RMRecieve R)
        {
            qtyBdata = new BQuality();
            DataSet DS = new DataSet();

            DS = qtyBdata.GetQualityDetails(R);

            if (!Comman.Comman.IsDataSetEmpty(DS))
            {
                rpQualityList.DataSource = DS;
                rpQualityList.DataBind();
            }
            else if (DS.Tables[0].Rows.Count == 0)
            {
                rpQualityList.DataSource = DS;
                rpQualityList.DataBind();
                //this.BindRepeater(dt);
            }
        }
Esempio n. 2
0
        public void GetQualityDetails(string dates)
        {
            qtyBdata = new BQuality();
            DataSet DS = new DataSet();

            DS = qtyBdata.GetQualityDetails(dates);

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