コード例 #1
0
        private List <Note> GetFileList()
        {
            NMSEntities db      = new NMSEntities();
            List <Note> DetList = new List <Note>();

            // DbConnection();
            //con.Open();
            //object v = (TempData["TID"]) as string;
            //string Tid = v.ToString();
            //string Tid= (TempData["TID"]) as string;
            string Tid = Session["TID"].ToString();

            // Note n = new Models.Note();
            DetList = db.GetAllTHEPDFFilesByOrder(Tid).ToList();

            //con.Close();

            return(DetList);
        }