C# 클래스 DataTableExtensions, code

파일 보기 프로젝트 열기: shendongnian/code 1 사용 예제들

공개 메소드들

메소드 설명
GetPropertiesForType ( ) : IList
SetColumnsOrder ( DataTable, dtbl ) : void

SetOrdinal of DataTable columns based on the index of the columnNames array. Removes invalid column names first.

http://stackoverflow.com/questions/3757997/how-to-change-datatable-colums-order

ToList ( DataTable table ) : IList

비공개 메소드들

메소드 설명
CreateItemFromRow ( DataRow, row, IList properties ) : T,

메소드 상세

GetPropertiesForType() 공개 정적인 메소드

public static GetPropertiesForType ( ) : IList
리턴 IList

SetColumnsOrder() 공개 정적인 메소드

SetOrdinal of DataTable columns based on the index of the columnNames array. Removes invalid column names first.
http://stackoverflow.com/questions/3757997/how-to-change-datatable-colums-order
public static SetColumnsOrder ( DataTable, dtbl ) : void
dtbl DataTable,
리턴 void

ToList() 공개 정적인 메소드

public static ToList ( DataTable table ) : IList
table DataTable
리턴 IList