Example #1
0
        private void DisplayData()
        {
            if (!SearchMode)
            {
                GrvNotes.DataSource = _repo.GetAll(PageIndex);
            }

            GrvNotes.DataBind(); //실제 데이터 바인드 메소드 뿌림, 데이터 바인딩 끝
        }
Example #2
0
        private void DisplayData()
        {
            if (!SearchMode)
            {
                GrvNotes.DataSource = _repo.GetAll(PageIndex); // 페이징은 0부터 시작
            }

            GrvNotes.DataBind(); // 데이터바인딩 끝
        }
Example #3
0
 private void DisplayData()
 {
     if (!SearchMode)
     {
         GrvNotes.DataSource = _repo.GetAll(PageIndex);
     }
     else
     {
         GrvNotes.DataSource = _repo.GetSeachAll(PageIndex, SearchField, SearchQuery); //검색결과
     }
     GrvNotes.DataBind();                                                              //데이터바인딩 끝
 }
Example #4
0
 private void DisplayData()
 {
     if (!SearchMode)                                   // 기본 리스트
     {
         GrvNotes.DataSource = _repo.GetAll(PageIndex); // 페이징 0부터 시작
     }
     else
     {
         GrvNotes.DataSource = _repo.GetSeachAll(PageIndex, SearchField, SearchQuery); // 검색 결과 리스트
     }
     GrvNotes.DataBind();                                                              // 실제 데이터 바인딩 완성
 }
        private void DisplayData()                             // 데이터 출력
        {
            if (!SearchMode)                                   // 검색모드가 아닐때
            {
                GrvNotes.DataSource = _repo.GetAll(PageIndex); // 페이지 출력(0부터 시작)
            }
            else
            {
                GrvNotes.DataSource = _repo.GetSeachAll(PageIndex, SearchField, SearchQuery);  // 검색 결과 리스트
            }

            GrvNotes.DataBind(); // 데이터바인딩 끝
        }