public DataTable Department_Sel_Course(string CourseID) { Staffdal t = new Staffdal(); DataSet ds = new DataSet(); DataTable dt = new DataTable(); ds = t.Department_Sel_Course(CourseID); if (ds.Tables.Count > 0) { dt = ds.Tables[0]; } return(dt); }
public DataTable Department_Sel_Course(string CourseID) { Staffdal t = new Staffdal(); DataSet ds = new DataSet(); DataTable dt = new DataTable(); ds = t.Department_Sel_Course(CourseID); if (ds.Tables.Count > 0) { dt = ds.Tables[0]; } return(dt); }