Beispiel #1
0
        public ActionResult FBBSMainList(int id)
        {
            bizBBSMain bbm = new bizBBSMain();
            int count;
            int pageSize = 50;
            int page;
            page = Request.QueryString["page"] == null ? 1 : int.Parse(Request.QueryString["page"].ToString());
            List<BBSMain> list = bbm.ListByFaction(1, 0, id, Enumerations.OrderTypes.����ʱ��, pageSize, page , out count);
            ViewData["PageList"] = Page.GetPageList("/Factions/FBBSMainList/" + id + ".html", count, pageSize, page,false );
            ViewData["ID"] = id;
            ViewData["Count"] = count;

            return View(list);
        }