C# 클래스 Rolcore.Data.DataTableExtensions

Extension methods for DataTable.
파일 보기 프로젝트 열기: Rollins/Rolcore

공개 메소드들

메소드 설명
GetColumnMapOrDefault ( this source, NameValueCollection columnMap = null ) : NameValueCollection

Generates a column map for the specified source DataTable, adding only unmapped columns.

GetColumnNames ( this table ) : string[]

Gets the column names of the table.

ToHtmlTable ( this table ) : string

Converts the given DataTable into the equivelant HTML table.

비공개 메소드들

메소드 설명
FillFromCsvFile ( this table, string folderPath, string fileName ) : void

메소드 상세

GetColumnMapOrDefault() 공개 정적인 메소드

Generates a column map for the specified source DataTable, adding only unmapped columns.
public static GetColumnMapOrDefault ( this source, NameValueCollection columnMap = null ) : NameValueCollection
source this Specifies the source containing the /// columns to be mapped.
columnMap System.Collections.Specialized.NameValueCollection Specifies any existing mappings.
리턴 System.Collections.Specialized.NameValueCollection

GetColumnNames() 공개 정적인 메소드

Gets the column names of the table.
public static GetColumnNames ( this table ) : string[]
table this Specifies the table to retrieve the column names from.
리턴 string[]

ToHtmlTable() 공개 정적인 메소드

Converts the given DataTable into the equivelant HTML table.
public static ToHtmlTable ( this table ) : string
table this Specifies the to convert to HTML.
리턴 string