[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Data.CsvDataSource

CsvDataSource Class

Represents a section report data source based on an CSV document.

Inheritance
CsvDataSource
Implements
Namespace: GrapeCity.ActiveReports.Data
Assembly: MESCIUS.ActiveReports.dll
Syntax
public class CsvDataSource : IDisposable

Constructors

Name Description
CsvDataSource()

Initializes a new instance of CsvDataSource class.

Properties

Name Description
ConnectionString

Specifies the string used to load the data from the csv file.

CredentialsMode
EOF

Determines whether the CurrentPosition is at the end of the NodeList.

ResourceLocator

Gets or sets the function that returns resource stream for a given name.

Methods

Name Description
Dispose()

Releases the resources used by the CsvDataSource.

Dispose(bool)

Releases the resources used by the CsvDataSource

Field(string)

Returns the value of the field with the specified name.

GetColumns()

Returns the list of the csv columns names.

Load(Func<string, Stream>)

Loads the csv data from the source specified in connection string.

MoveFirst(ResourceLocator)

Moves the current position to the first data record.

MoveNext()

Moves the current position to the next data record.

Extension Methods