public static STD_ClassSubjectStudent GetSTD_ClassSubjectByClassSubjectID(int ClassSubjectID)
 {
     STD_ClassSubjectStudent sTD_ClassSubjectStudent = new STD_ClassSubjectStudent();
     SqlSTD_ClassSubjectStudentProvider sqlSTD_ClassSubjectStudentProvider = new SqlSTD_ClassSubjectStudentProvider();
     sTD_ClassSubjectStudent = sqlSTD_ClassSubjectStudentProvider.GetSTD_ClassSubjectStudentByClassSubjectID(ClassSubjectID);
     return sTD_ClassSubjectStudent;
 }
 public static DataSet GetSTD_ClassSubjectByClassSubjectID(int ClassSubjectID,bool isDataset)
 {
     DataSet sTD_ClassSubjectStudent = new DataSet();
     SqlSTD_ClassSubjectStudentProvider sqlSTD_ClassSubjectStudentProvider = new SqlSTD_ClassSubjectStudentProvider();
     sTD_ClassSubjectStudent = sqlSTD_ClassSubjectStudentProvider.GetSTD_ClassSubjectStudentByClassSubjectID(ClassSubjectID,isDataset);
     return sTD_ClassSubjectStudent;
 }
 public static DataSet GetAllSTD_ClassSubjectStudentsWithRelation()
 {
     DataSet sTD_ClassSubjectStudents = new DataSet();
     SqlSTD_ClassSubjectStudentProvider sqlSTD_ClassSubjectStudentProvider = new SqlSTD_ClassSubjectStudentProvider();
     sTD_ClassSubjectStudents = sqlSTD_ClassSubjectStudentProvider.GetAllSTD_ClassSubjectStudents();
     return sTD_ClassSubjectStudents;
 }
 public static DataSet GetDropDownListAllSTD_ClassSubjectStudent()
 {
     DataSet sTD_ClassSubjectStudents = new DataSet();
     SqlSTD_ClassSubjectStudentProvider sqlSTD_ClassSubjectStudentProvider = new SqlSTD_ClassSubjectStudentProvider();
     sTD_ClassSubjectStudents = sqlSTD_ClassSubjectStudentProvider.GetDropDownLisAllSTD_ClassSubjectStudent();
     return sTD_ClassSubjectStudents;
 }
 public static bool DeleteSTD_ClassSubjectStudent(int sTD_ClassSubjectStudentID)
 {
     SqlSTD_ClassSubjectStudentProvider sqlSTD_ClassSubjectStudentProvider = new SqlSTD_ClassSubjectStudentProvider();
     return sqlSTD_ClassSubjectStudentProvider.DeleteSTD_ClassSubjectStudent(sTD_ClassSubjectStudentID);
 }
 public static bool DeleteSTD_ClassSubjectStudentByClassSubjectIDnStudentID(int classSubjectID, string StudentID)
 {
     SqlSTD_ClassSubjectStudentProvider sqlSTD_ClassSubjectStudentProvider = new SqlSTD_ClassSubjectStudentProvider();
     return sqlSTD_ClassSubjectStudentProvider.DeleteSTD_ClassSubjectStudentByClassSubjectIDnStudentID(classSubjectID, StudentID);
 }
 public static bool UpdateSTD_ClassSubjectStudent(STD_ClassSubjectStudent sTD_ClassSubjectStudent)
 {
     SqlSTD_ClassSubjectStudentProvider sqlSTD_ClassSubjectStudentProvider = new SqlSTD_ClassSubjectStudentProvider();
     return sqlSTD_ClassSubjectStudentProvider.UpdateSTD_ClassSubjectStudent(sTD_ClassSubjectStudent);
 }
 public static void LoadSTD_ClassSubjectStudentPage(System.Web.UI.WebControls.GridView gv, System.Web.UI.WebControls.Repeater rptPager, int pageIndex, DropDownList ddlPageSize)
 {
     int recordCount=0;
     int PageSize =  int.Parse(ddlPageSize.SelectedValue);
     SqlSTD_ClassSubjectStudentProvider sqlSTD_ClassSubjectStudentProvider = new SqlSTD_ClassSubjectStudentProvider();
     DataSet ds =  sqlSTD_ClassSubjectStudentProvider.GetSTD_ClassSubjectStudentPageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      sTD_ClassSubjectStudentsPaggination(rptPager,recordCount, pageIndex, PageSize);
 }
 public static int InsertSTD_ClassSubjectStudent(STD_ClassSubjectStudent sTD_ClassSubjectStudent)
 {
     SqlSTD_ClassSubjectStudentProvider sqlSTD_ClassSubjectStudentProvider = new SqlSTD_ClassSubjectStudentProvider();
     return sqlSTD_ClassSubjectStudentProvider.InsertSTD_ClassSubjectStudent(sTD_ClassSubjectStudent);
 }
示例#10
0
 public static DataSet GetSTD_StudentSubjectByStudentID(string studentID)
 {
     DataSet sTD_ClassSubjectStudent = new DataSet();
     SqlSTD_ClassSubjectStudentProvider sqlSTD_ClassSubjectStudentProvider = new SqlSTD_ClassSubjectStudentProvider();
     sTD_ClassSubjectStudent = sqlSTD_ClassSubjectStudentProvider.GetSTD_StudentSubjectByStudentID(studentID);
     return sTD_ClassSubjectStudent;
 }
示例#11
0
 public static STD_ClassSubjectStudent GetSTD_StudentByStudentID(string StudentID)
 {
     STD_ClassSubjectStudent sTD_ClassSubjectStudent = new STD_ClassSubjectStudent();
     SqlSTD_ClassSubjectStudentProvider sqlSTD_ClassSubjectStudentProvider = new SqlSTD_ClassSubjectStudentProvider();
     sTD_ClassSubjectStudent = sqlSTD_ClassSubjectStudentProvider.GetSTD_ClassSubjectStudentByStudentID(StudentID);
     return sTD_ClassSubjectStudent;
 }