public void GetReachlingDetails(string dates) { DataSet DS = new DataSet(); BRechilling BData = new BRechilling(); DS = BData.GetRechillingDetails(dates); if (!Comman.Comman.IsDataSetEmpty(DS)) { rpRechillingList.DataSource = DS; rpRechillingList.DataBind(); } else { DS.Clear(); rpRechillingList.DataSource = DS; rpRechillingList.DataBind(); } }
public void GetReachlingDetails(RMRecieve R) { DataSet DS = new DataSet(); BRechilling BData = new BRechilling(); DS = BData.GetRechillingDetails(R); if (!Comman.Comman.IsDataSetEmpty(DS)) { rpRechillingList.DataSource = DS; rpRechillingList.DataBind(); } else if (DS.Tables[0].Rows.Count == 0) { rpRechillingList.DataSource = DS; rpRechillingList.DataBind(); //this.BindRepeater(dt); } }