62,046
社区成员
发帖
与我相关
我的任务
分享
protected void AspNetPager1_PageChanged(object sender, EventArgs e)
{
postBackDetailsInfoBind();
Response.Redirect("BrowsePost.aspx?forumID=" + forumID + "¤tPage=" + AspNetPager1.CurrentPageIndex.ToString());
}
public void Page_Load(object sender, EventArgs e)
{
if(login.UserIsLogin)
user_id = login.CurrentUserModelInSession.UserId.ToString();
forumID = WebUtils.GetQueryString("forumID");
if (!IsPostBack)
{
DataSet ds = (new BbBll()).getAllPostBackDetailsInfo(forumID);
AspNetPager1.RecordCount = ds.Tables[0].Rows.Count;
postBackDetailsInfoBind();
}
}