Example #1
0
 public ActionResult content(int id)
 {
     a_Message ac = new a_Message() { Connection = getSQLConnection(), logPlamInfo = this.plamInfo };
     var r1 = ac.GetDataMaster(id, 0).SearchData;
     ViewBag.KindName = CodeSheet.消息分類L.MakeCodes().Where(x => x.Code == r1.kind).FirstOrDefault().Value;
     return View(r1);
 }
Example #2
0
        public ActionResult content(int id)
        {
            a_Message ac = new a_Message() { Connection = getSQLConnection(), logPlamInfo = this.plamInfo };
            var r1 = ac.GetDataMaster(id, 0).SearchData;

            ViewBag.BodyClass = "News p2";
            return View(r1);
        }
Example #3
0
        public ActionResult content(int id)
        {
            a_Message ac = new a_Message()
            {
                Connection = getSQLConnection(), logPlamInfo = this.plamInfo
            };
            var r1 = ac.GetDataMaster(id, 0).SearchData;

            ViewBag.BodyClass = "News p2";
            return(View(r1));
        }
Example #4
0
        public ActionResult content(int id)
        {
            a_Message ac = new a_Message()
            {
                Connection = getSQLConnection(), logPlamInfo = this.plamInfo
            };
            var r1 = ac.GetDataMaster(id, 0).SearchData;

            ViewBag.KindName = CodeSheet.消息分類L.MakeCodes().Where(x => x.Code == r1.kind).FirstOrDefault().Value;
            return(View(r1));
        }