public void updateStudentExam(int Id, int StudentExamId, int QuestionId) { try { using (aspccEntities db = new aspccEntities()) { db.updateStudentExam(Id, StudentExamId, QuestionId); } } catch (Exception ex) { com.Loginsert("DalupdateStudentExam", "updateStudentExam", ex.StackTrace, ex.Message); } }