Ejemplo n.º 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         //데이터 출력(현재 게시글의 번호(Id)에 해당하는 댓글 리스트
         ctlCommentList.DataSource = _repository.GetNoteComments(Convert.ToInt32(Request["Id"]));
         ctlCommentList.DataBind();
     }
 }
Ejemplo n.º 2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         // 코멘트 출력
         ctlCommentList.DataSource = repo.GetNoteComments(Convert.ToInt32(Request["Id"]));
         ctlCommentList.DataBind();
     }
 }