protected void GetReplies() { int postID = int.Parse(Request.QueryString["postID"]); LabMS.BLL.PostReply postReply = new LabMS.BLL.PostReply(); DataSet ds = postReply.GetList(" [PosterID] = " + postID); AspNetPager.RecordCount = ds.Tables[0].Rows.Count; HandleReply(ds); }
/// <summary> /// �ظ� /// </summary> protected void BindReply() { int postID = int.Parse(Request.QueryString["id"]); LabMS.BLL.PostReply postReply = new LabMS.BLL.PostReply(); DataSet ds = postReply.GetList(" [PosterID] = " + postID); ds = HandleReply(ds); RepeaterPostReply.DataSource = ds.Tables[0].DefaultView; RepeaterPostReply.DataBind(); }