WebGrid.Bind 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 데이터를 WebGrid instance 바인딩합니다.
public System.Web.Helpers.WebGrid Bind(System.Collections.Generic.IEnumerable<dynamic> source, System.Collections.Generic.IEnumerable<string> columnNames = default, bool autoSortAndPage = true, int rowCount = -1);
member this.Bind : seq<obj> * seq<string> * bool * int -> System.Web.Helpers.WebGrid
Public Function Bind (source As IEnumerable(Of Object), Optional columnNames As IEnumerable(Of String) = null, Optional autoSortAndPage As Boolean = true, Optional rowCount As Integer = -1) As WebGrid
매개 변수
- source
- IEnumerable<Object>
표시할 데이터입니다.
- columnNames
- IEnumerable<String>
바인딩할 데이터 열의 이름을 포함하는 컬렉션입니다.
- rowCount
- Int32
표의 각 페이지에 표시할 행의 수입니다.
반환
바인딩되고 채워진 WebGrid instance.