Пример #1
0
 protected void DownResumeFile(int userID)
 {
     using (DataEntities ent = new DataEntities())
     {
         var files = from l in ent.JobResumeFile where l.UserID == userID select l;
         if (files.Count() == 0)
         {
             Js.AlertAndClose("这个用户没有上传简历");
         }
         else
         {
             Response.Redirect(files.First().FilePath);
         }
     }
 }