Example #1
0
 public int DL_InsUpdates(ML_ExamMaster objML_ExamMaster)
 {
     SqlParameter[] par = { new SqlParameter("@UpdatesID",   objML_ExamMaster.ID),
                            new SqlParameter("@StudentName", objML_ExamMaster.StudentName),
                            new SqlParameter("@Desc",        objML_ExamMaster.Description),new SqlParameter("@CreatedBy",objML_ExamMaster.CreatedBy),
                            new SqlParameter("@ModifyBy",    objML_ExamMaster.ModifyBy) };
     return(SqlHelper.ExecuteNonQuery(con, "FBNPC_Updates_Insert", par));
 }
Example #2
0
 public int DL_InsTeramsCondition(ML_ExamMaster objML_ExamMaster)
 {
     SqlParameter[] par = { new SqlParameter("@TearmsID",        objML_ExamMaster.ID),
                            new SqlParameter("@TeramsCondition", objML_ExamMaster.TearmsConditions),
                            new SqlParameter("@CreatedBy",       objML_ExamMaster.CreatedBy),
                            new SqlParameter("@ModifyBy",        objML_ExamMaster.ModifyBy) };
     return(SqlHelper.ExecuteNonQuery(con, "FBNPC_TearmsCondition_Insert", par));
 }
Example #3
0
 public int DL_InsSubject(ML_ExamMaster objML_ExamMaster)
 {
     SqlParameter[] par = { new SqlParameter("@SubjectID",   objML_ExamMaster.ID),
                            new SqlParameter("@SubjectName", objML_ExamMaster.SubjectName),
                            new SqlParameter("@SubjectDesc", objML_ExamMaster.Description),
                            new SqlParameter("@CreatedBy",   objML_ExamMaster.CreatedBy),
                            new SqlParameter("@ModifyBy",    objML_ExamMaster.ModifyBy) };
     return(SqlHelper.ExecuteNonQuery(con, "FBNPC_Subjects_Insert", par));
 }
Example #4
0
 public int DL_InsExamListName(ML_ExamMaster objML_ExamMaster)
 {
     SqlParameter[] par = { new SqlParameter("@ExamID",    objML_ExamMaster.ID),
                            new SqlParameter("@ExamName",  objML_ExamMaster.SectionName),
                            new SqlParameter("@ExamDesc",  objML_ExamMaster.Description),
                            new SqlParameter("@CreatedBy", objML_ExamMaster.CreatedBy),
                            new SqlParameter("@ModifyBy",  objML_ExamMaster.ModifyBy) };
     return(SqlHelper.ExecuteNonQuery(con, "FBNPC_ExamListName_Insert", par));
 }
Example #5
0
 public int DL_InsUpdVideoMaster(ML_ExamMaster objML_ExamMaster)
 {
     SqlParameter[] par = { new SqlParameter("@ID",          objML_ExamMaster.ID),
                            new SqlParameter("@SubjectName", objML_ExamMaster.SubjectName),
                            new SqlParameter("@TransType",   objML_ExamMaster.TransType),
                            new SqlParameter("@FileName",    objML_ExamMaster.Description),
                            new SqlParameter("@CreatedBy",   objML_ExamMaster.CreatedBy),
                            new SqlParameter("@ModifyBy",    objML_ExamMaster.ModifyBy) };
     return(SqlHelper.ExecuteNonQuery(con, "FBNPC_Video_Insert", par));
 }
Example #6
0
 public int DL_InsSection(ML_ExamMaster objML_ExamMaster)
 {
     SqlParameter[] par = { new SqlParameter("@SectionID",   objML_ExamMaster.ID),
                            new SqlParameter("@SectionName", objML_ExamMaster.SectionName),
                            new SqlParameter("@SectionDesc", objML_ExamMaster.Description),
                            new SqlParameter("@CreatedBy",   objML_ExamMaster.CreatedBy),
                            new SqlParameter("@ModifyBy",    objML_ExamMaster.ModifyBy),   new SqlParameter("@DocType",objML_ExamMaster.DocType),
                            new SqlParameter("@SectionTime", objML_ExamMaster.SectionTime),
                            new SqlParameter("@TimeType",    objML_ExamMaster.TimeType) };
     return(SqlHelper.ExecuteNonQuery(con, "FBNPC_Sections_Insert", par));
 }
Example #7
0
 public int DL_InsUpdQuestion(ML_ExamMaster objML_ExamMaster)
 {
     SqlParameter[] par = { new SqlParameter("@QuesionID",  objML_ExamMaster.ID),
                            new SqlParameter("@Question",   objML_ExamMaster.Question),
                            new SqlParameter("@OptionA",    objML_ExamMaster.OPtionOne),
                            new SqlParameter("@OptionB",    objML_ExamMaster.OptionTwo),
                            new SqlParameter("@OptionC",    objML_ExamMaster.OptionThree),
                            new SqlParameter("@OptionD",    objML_ExamMaster.OptionFour),
                            new SqlParameter("@CorrectAns", objML_ExamMaster.CorrectAns),
                            new SqlParameter("@CreatedBy",  objML_ExamMaster.CreatedBy),
                            new SqlParameter("@ModifyBy",   objML_ExamMaster.ModifyBy) };
     return(SqlHelper.ExecuteNonQuery(con, "FBNPC_Questions_Insert", par));
 }
Example #8
0
 public DataTable DL_BindUserMaster(ML_ExamMaster objML_ExamMaster)
 {
     SqlParameter[] par = { new SqlParameter("@ID", objML_ExamMaster.ID), };
     return(SqlHelper.ExecuteDataset(con, "FBNPC_User_Master_Bind", par).Tables[0]);
 }
Example #9
0
 public int BL_DeleteQuestion(ML_ExamMaster objML_ExamMaster)
 {
     return(objDL_ExamMaster.DL_DeleteQuestion(objML_ExamMaster));
 }
Example #10
0
 public DataTable BL_BindQuestion(ML_ExamMaster objML_ExamMaster)
 {
     return(objDL_ExamMaster.DL_BindQuestion(objML_ExamMaster));
 }
Example #11
0
 public DataTable DL_SelectStudentMapping(ML_ExamMaster objML_ExamMaster)
 {
     SqlParameter[] par = { new SqlParameter("@ExamID", objML_ExamMaster.ID), };
     return(SqlHelper.ExecuteDataset(con, "FBNPC_Student_Mapping_Select", par).Tables[0]);
 }
Example #12
0
 public int DL_DeleteSubject(ML_ExamMaster objML_ExamMaster)
 {
     SqlParameter[] par = { new SqlParameter("@SubjectID", objML_ExamMaster.ID), };
     return(SqlHelper.ExecuteNonQuery(con, "FBNPC_Delete_Subjects", par));
 }
Example #13
0
 public DataTable BL_BindExamListName(ML_ExamMaster objML_ExamMaster)
 {
     return(objDL_ExamMaster.DL_BindExamListName(objML_ExamMaster));
 }
Example #14
0
 public DataTable DL_EditQuestion(ML_ExamMaster objML_ExamMaster)
 {
     SqlParameter[] par = { new SqlParameter("@QustionID", objML_ExamMaster.ID), };
     return(SqlHelper.ExecuteDataset(con, "FBNPC_Edit_Questions", par).Tables[0]);
 }
Example #15
0
 public int BL_InsUpdQuestion(ML_ExamMaster objML_ExamMaster)
 {
     return(objDL_ExamMaster.DL_InsUpdQuestion(objML_ExamMaster));
 }
Example #16
0
 public int BL_DeleteAVMaster(ML_ExamMaster objML_ExamMaster)
 {
     return(objDL_ExamMaster.DL_DeleteAVMaster(objML_ExamMaster));
 }
Example #17
0
 public int DL_DeleteExamListName(ML_ExamMaster objML_ExamMaster)
 {
     SqlParameter[] par = { new SqlParameter("@ExamID", objML_ExamMaster.ID), };
     return(SqlHelper.ExecuteNonQuery(con, "FBNPC_Delete_ExamListName", par));
 }
Example #18
0
 public DataTable DL_BindAVMaster(ML_ExamMaster objML_ExamMaster)
 {
     SqlParameter[] par = { new SqlParameter("@ID", objML_ExamMaster.ID), };
     return(SqlHelper.ExecuteDataset(con, "FBNPC_Bind_Audio_Video_Master", par).Tables[0]);
 }
Example #19
0
 public int DL_DeleteAVMaster(ML_ExamMaster objML_ExamMaster)
 {
     SqlParameter[] par = { new SqlParameter("@ID", objML_ExamMaster.ID), };
     return(SqlHelper.ExecuteNonQuery(con, "FBNPC_Delete_Audio_Video_Master", par));
 }
Example #20
0
 public DataTable DL_BindQuestion(ML_ExamMaster objML_ExamMaster)
 {
     SqlParameter[] par = { new SqlParameter("@ID", objML_ExamMaster.ID), };
     return(SqlHelper.ExecuteDataset(con, "FBNPC_Bind_QuestionSheet", par).Tables[0]);
 }
Example #21
0
 public int DL_DeleteUpdates(ML_ExamMaster objML_ExamMaster)
 {
     SqlParameter[] par = { new SqlParameter("@ID", objML_ExamMaster.ID), };
     return(SqlHelper.ExecuteNonQuery(con, "FBNPC_Updates_Delete", par));
 }
Example #22
0
 public int BL_DeleteExamListName(ML_ExamMaster objML_ExamMaster)
 {
     return(objDL_ExamMaster.DL_DeleteExamListName(objML_ExamMaster));
 }
Example #23
0
 public DataTable DL_EditUpdates(ML_ExamMaster objML_ExamMaster)
 {
     SqlParameter[] par = { new SqlParameter("@ID", objML_ExamMaster.ID), };
     return(SqlHelper.ExecuteDataset(con, "FBNPC_Updates_Select", par).Tables[0]);
 }
Example #24
0
 public int BL_InsUpdAV(ML_ExamMaster objML_ExamMaster)
 {
     return(objDL_ExamMaster.DL_InsUpdAV(objML_ExamMaster));
 }
Example #25
0
 public DataTable DL_EditSubject(ML_ExamMaster objML_ExamMaster)
 {
     SqlParameter[] par = { new SqlParameter("@SubjectID", objML_ExamMaster.ID), };
     return(SqlHelper.ExecuteDataset(con, "FBNPC_Edit_Subjects", par).Tables[0]);
 }
Example #26
0
 public DataTable DL_BindTearms(ML_ExamMaster objML_ExamMaster)
 {
     SqlParameter[] par = { new SqlParameter("@ID", objML_ExamMaster.ID), };
     return(SqlHelper.ExecuteDataset(con, "FBNPC_Select_TearmsConditions", par).Tables[0]);
 }
Example #27
0
 public DataTable DL_EditExamListName(ML_ExamMaster objML_ExamMaster)
 {
     SqlParameter[] par = { new SqlParameter("@ExamID", objML_ExamMaster.ID), };
     return(SqlHelper.ExecuteDataset(con, "FBNPC_Edit_ExamListName", par).Tables[0]);
 }
Example #28
0
 public DataTable BL_BindAVMaster(ML_ExamMaster objML_ExamMaster)
 {
     return(objDL_ExamMaster.DL_BindAVMaster(objML_ExamMaster));
 }
Example #29
0
 public int DL_DeleteQuestion(ML_ExamMaster objML_ExamMaster)
 {
     SqlParameter[] par = { new SqlParameter("@QuestionID", objML_ExamMaster.ID), };
     return(SqlHelper.ExecuteNonQuery(con, "FBNPC_Delete_QuestionSheet", par));
 }
Example #30
0
 public DataTable BL_EditSection(ML_ExamMaster objML_ExamMaster)
 {
     return(objDL_ExamMaster.DL_EditSection(objML_ExamMaster));
 }