예제 #1
0
        public void GetFinishedGoodReleaseDetails(RMRecieve R)
        {
            finishBdata = new BFinishedGoodsRelease();
            DataSet DS = new DataSet();

            DS = finishBdata.GetFinishedGoodReleaseDetails(R);

            if (!Comman.Comman.IsDataSetEmpty(DS))
            {
                rpFinishGoodList.DataSource = DS;
                rpFinishGoodList.DataBind();
            }
            else if (DS.Tables[0].Rows.Count == 0)
            {
                //this.BindRepeater(dt);
                rpFinishGoodList.DataSource = DS;
                rpFinishGoodList.DataBind();
            }
        }
예제 #2
0
        public void GetFinishedGoodReleaseDetails(string dates)
        {
            finishBdata = new BFinishedGoodsRelease();
            DataSet DS = new DataSet();

            DS = finishBdata.GetFinishedGoodReleaseDetails(dates);

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