Ejemplo n.º 1
0
        public void GetCreamDetails(string dates)
        {
            bcream = new BCreamProduction();
            DataSet DS = new DataSet();

            DS = bcream.GetCreamDetails(dates);
            if (!Comman.Comman.IsDataSetEmpty(DS))
            {
                rpCreamProduction.DataSource = DS;
                rpCreamProduction.DataBind();
            }
            else
            {
                DS.Clear();
                rpCreamProduction.DataSource = DS;
                rpCreamProduction.DataBind();
            }
        }
Ejemplo n.º 2
0
        public void GetCreamDetails(RMRecieve R)
        {
            bcream = new BCreamProduction();
            DataSet DS = new DataSet();

            DS = bcream.GetCreamDetails(R);
            if (!Comman.Comman.IsDataSetEmpty(DS))
            {
                rpCreamProduction.DataSource = DS;
                rpCreamProduction.DataBind();
            }
            else if (DS.Tables[0].Rows.Count == 0)
            {
                //this.BindRepeater(dt);
                rpCreamProduction.DataSource = DS;
                rpCreamProduction.DataBind();
            }
        }