예제 #1
0
 public static DataTable InsertUpdateClassStudents(BusinessEntities.ClassStudents objClassStudents)
 {
     try
     {
         DataKernal.ClassStudents objDClassStudents = new DataKernal.ClassStudents();
         return(objDClassStudents.InsertUpdateClassStudents(objClassStudents.ClassStudentID, objClassStudents.ClassID, objClassStudents.SectionID, objClassStudents.StudentID, objClassStudents.UserID, objClassStudents.DateCreated, objClassStudents.IsEnabled, objClassStudents.Remarks, objClassStudents.RollNo).Tables[0]);
     }
     catch (System.Exception ex)
     {
         return(null);
     }
 }
예제 #2
0
 public static DataTable DeleteClassStudents()
 {
     try
     {
         DataKernal.ClassStudents objClassStudents = new DataKernal.ClassStudents();
         return(objClassStudents.DeleteClassStudents().Tables[0]);
     }
     catch (System.Exception ex)
     {
         return(null);
     }
 }
예제 #3
0
 public static DataTable GetClassStudentsByID(int intClassStudentID)
 {
     try
     {
         DataKernal.ClassStudents objClassStudents = new DataKernal.ClassStudents();
         return(objClassStudents.SelectClassStudents(intClassStudentID).Tables[0]);
     }
     catch (System.Exception ex)
     {
         return(null);
     }
 }