private void setupGrid() { DataTool dbTool = new DataTool(); DataTable dtMedications = dbTool.getMedications(Int32.Parse(Session["PatientID"].ToString())); initGrid_BL(dgMeds, dtMedications, "MedicationID"); //List<Medications> lMedications = new List<Medications>(); //SQLMedications sqlMedication = new SQLMedications(); //dgMeds.DataSource = sqlMedication.getAllMedications(Int32.Parse(Session["PatientID"].ToString())); //dgMeds.DataBind(); DataTable dtVitals = dbTool.getVitals(Int32.Parse(Session["PatientID"].ToString())); initGrid_BL(dgVitals, dtVitals, "VitalSignID"); }