ExcelDataSource Class

Data source class implements Exp.-Imp. using by DataSet

Namespace: Xafari.Data
Assembly: Xafari.Data (in Xafari.Data.dll)

  • c#
  • VB

public class ExcelDataSource : IDataSource

Public Class ExcelDataSource
  Implements IDataSource
End Class

Name Description
msdn2017/pubmethod ExcelDataSource() The constructor Data Source DataSet
msdn2017/pubmethod ExcelDataSource(DataSet) The constructor Data Source DataSet
msdn2017/pubmethod ExcelDataSource(DataSet, string) The constructor Data Source DataSet
msdn2017/pubmethod ExcelDataSource(string) The constructor Data Source DataSet
msdn2017/pubmethod ExcelDataSource(string, string) The constructor Data Source DataSet
Top
Name Description
msdn2017/pubproperty DestinationPath Represents a string that contains the path where data will be loaded during export operation.
msdn2017/protproperty Mode 1 - Import, 2 - Export
msdn2017/pubproperty Schema The scheme mapping data types.
msdn2017/pubproperty SourcePath Represents a string that contains the path to the data that will be read during the import operation.
msdn2017/pubproperty Tables List of Tables data source.
Top
Name Description
msdn2017/pubmethod Close() Close data source
msdn2017/pubmethod DataSetToExcelFile(DataSet) Export DataSet to Excel
msdn2017/pubmethod GetTable(string) Gets table by table name
msdn2017/pubmethod InitializeTables() Initialize a list of data source tables
msdn2017/protmethod OnClosed()
msdn2017/protmethod OnOpened()
msdn2017/pubmethod Open() Open data source
Top
Name Description
msdn2017/pubevent Closed This event occurs when you close a data source.
msdn2017/pubevent Opened This event occurs when you open a data source.
Top
Xafari.Data.ExcelDataSource

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1