Exemplo n.º 1
0
        public void GetPastDetails(string dates)
        {
            bpast = new BPastProcess();
            DataSet DS = new DataSet();

            DS = bpast.GetPastDetails(dates);

            if (!Comman.Comman.IsDataSetEmpty(DS))
            {
                rpPastProcessList.DataSource = DS;
                rpPastProcessList.DataBind();
            }
            else
            {
                DS.Clear();
                rpPastProcessList.DataSource = DS;
                rpPastProcessList.DataBind();
            }
        }
Exemplo n.º 2
0
        public void GetPastDetails(RMRecieve R)
        {
            bpast = new BPastProcess();
            DataSet DS = new DataSet();

            DS = bpast.GetPastDetails(R);

            if (!Comman.Comman.IsDataSetEmpty(DS))
            {
                rpPastProcessList.DataSource = DS;
                rpPastProcessList.DataBind();
            }

            else if (DS.Tables[0].Rows.Count == 0)
            {
                //this.BindRepeater(dt);
                rpPastProcessList.DataSource = DS;
                rpPastProcessList.DataBind();
            }
        }