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(); } }
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(); } }