示例#1
0
 public List <getStudentexamById_Result> getStudentexamById(int id)
 {
     try
     {
         List <getStudentexamById_Result> ExamStulist = new List <getStudentexamById_Result>();
         using (aspccEntities db = new aspccEntities())
         {
             ExamStulist = db.getStudentexamById(id).ToList();
             return(ExamStulist);
         }
     }
     catch (Exception ex)
     {
         com.Loginsert("DalgetStudentexamById", "getStudentexamById", ex.StackTrace, ex.Message);
         return(null);
     }
 }