public static DataSet GetSTD_StudentByStudentID(string StudentID,bool isdataset) { DataSet sTD_SubjectStudent = new DataSet(); SqlSTD_SubjectStudentProvider sqlSTD_SubjectStudentProvider = new SqlSTD_SubjectStudentProvider(); sTD_SubjectStudent = sqlSTD_SubjectStudentProvider.GetSTD_SubjectStudentByStudentID(StudentID,true); return sTD_SubjectStudent; }
public static STD_SubjectStudent GetSTD_StudentByStudentID(string StudentID) { STD_SubjectStudent sTD_SubjectStudent = new STD_SubjectStudent(); SqlSTD_SubjectStudentProvider sqlSTD_SubjectStudentProvider = new SqlSTD_SubjectStudentProvider(); sTD_SubjectStudent = sqlSTD_SubjectStudentProvider.GetSTD_SubjectStudentByStudentID(StudentID); return sTD_SubjectStudent; }