C# Class ExcelOperation.ExcelWriter

Inheritance: IDisposable
Show file Open project: GHScan/DailyProjects Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
ExcelWriter ( string fileName, int titleRow, int contentRow ) : System
Save ( ) : void
Write ( DataSheet dsheet ) : void

Private Methods

Method Description
CreateSheet ( DataSheet dsheet ) : ISheet
WriteRow ( IRow row, object>.Dictionary data, string>.KeyValuePair titles ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

ExcelWriter() public method

public ExcelWriter ( string fileName, int titleRow, int contentRow ) : System
fileName string
titleRow int
contentRow int
return System

Save() public method

public Save ( ) : void
return void

Write() public method

public Write ( DataSheet dsheet ) : void
dsheet DataSheet
return void