protected void Page_Load(object sender, EventArgs e) { Page.Header.DataBind(); DataSet ds; Base_BLL_PatientQueue objtoday = new Base_BLL_PatientQueue(); ds = objtoday.AppointmentTodaysSummary_Get("2016-9-24", 2); if (ds != null) { UC_ListGrid.Data = ds; UC_ListGrid.DataBind(); } }
protected void fillAppointmentSummary() { ds = new DataSet(); objtoday = new Base_BLL_PatientQueue(); ds = objtoday.AppointmentTodaysSummary_Get(txt_appointmentDate.Text, Convert.ToInt32(Request.QueryString["flag"].ToString())); if (ds != null) { UC_Total_Display.TotalPatient = ds.Tables[1].Rows[0][0].ToString(); UC_Total_Display.TotalAmmount = ds.Tables[1].Rows[0][1].ToString(); UC_ListGrid_New.Data = ds; } }