protected void Page_Load(object sender, EventArgs e) { if (RouteData.Values["TITLE"] != null) { title = RouteData.Values["TITLE"].ToString(); isQuestion(); } rptrCategories.Bind(DALCategories.GetAll()); rptLastPost.Bind(DALBlog.GetLastCount(3)); }
protected void Page_Load(object sender, EventArgs e) { string title = ""; if (RouteData.Values["TITLE"] != null) { title = RouteData.Values["TITLE"].ToString(); CATEGORIES c = DALCategories.GetTitle(title); rptPostTitle.Bind(DALBlog.GetByCategoriesID(c.ID)); } rptrCategories.Bind(DALCategories.GetAll()); rptLastPost.Bind(DALBlog.GetLastCount(3)); }
protected void Page_Load(object sender, EventArgs e) { rptrCategories.Bind(DALCategories.GetAll()); rptPost.Bind(DALBlog.GetLastCount(1)); rptLastPost.Bind(DALBlog.GetLastCount(3)); }
protected void Page_Load(object sender, EventArgs e) { rptrCategories.Bind(DALCategories.GetAll()); rptLastPost.Bind(DALBlog.GetLastCount(3)); rptQuestion.Bind(DALQUESTION.GetAll2().OrderBy(p => p.SORT)); }
protected void Page_Load(object sender, EventArgs e) { this.AsyncMode = true; rptrCategories.Bind(DALCategories.GetAll()); rptLastPost.Bind(DALBlog.GetLastCount(3)); }