C# 클래스 SympleLib.OpenXml.XLSWorker

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

공개 메소드들

메소드 설명
AddHeaderRow ( List colNames, int rowNum ) : void

Write a New Header Row - Sets the Header Row of the current sheet to the row specified

AddNewRow ( ) : XLSRow
AddNewSheet ( string sheetName ) : void
AddNewSheet ( string sheetName, int position ) : void
ApplyFilter ( string columnName, string filterString ) : void

Filter Row Collection on a specific Column

Create ( string path ) : XLSWorker

Creates a new Excel Workbook

Create ( string path, bool overwrite ) : XLSWorker

Creates a new Excel Workbook - Overwrites Existing File

CreateOrOpen ( string path ) : XLSWorker

Checks to see if document exists - creates if not - opens if it does exist

InsertNewRow ( int rowNumber ) : XLSRow
Open ( string path ) : XLSWorker

Open an Existing xls file for Reading and Modfification

Save ( ) : void
SaveAs ( string path ) : void
SaveToMemoryStream ( ) : Stream
SetActiveSheet ( IXLWorksheet sheet, int headerRowNum = 1, bool noHeaderRow = false ) : void
SetActiveSheet ( int sheetNum, int headerRowNum = 1, bool noHeaderRow = false ) : void
SetActiveSheet ( string sheetName, int headerRowNum = 1, bool noHeaderRow = false ) : void
WriteToCell ( string CellID, object Value ) : void
WriteToHttpResponse ( string fileName ) : void
XLSWorker ( ) : System

메소드 상세

AddHeaderRow() 공개 메소드

Write a New Header Row - Sets the Header Row of the current sheet to the row specified
public AddHeaderRow ( List colNames, int rowNum ) : void
colNames List
rowNum int
리턴 void

AddNewRow() 공개 메소드

public AddNewRow ( ) : XLSRow
리턴 XLSRow

AddNewSheet() 공개 메소드

public AddNewSheet ( string sheetName ) : void
sheetName string
리턴 void

AddNewSheet() 공개 메소드

public AddNewSheet ( string sheetName, int position ) : void
sheetName string
position int
리턴 void

ApplyFilter() 공개 메소드

Filter Row Collection on a specific Column
public ApplyFilter ( string columnName, string filterString ) : void
columnName string
filterString string
리턴 void

Create() 공개 정적인 메소드

Creates a new Excel Workbook
public static Create ( string path ) : XLSWorker
path string
리턴 XLSWorker

Create() 공개 정적인 메소드

Creates a new Excel Workbook - Overwrites Existing File
public static Create ( string path, bool overwrite ) : XLSWorker
path string
overwrite bool
리턴 XLSWorker

CreateOrOpen() 공개 정적인 메소드

Checks to see if document exists - creates if not - opens if it does exist
public static CreateOrOpen ( string path ) : XLSWorker
path string
리턴 XLSWorker

InsertNewRow() 공개 메소드

public InsertNewRow ( int rowNumber ) : XLSRow
rowNumber int
리턴 XLSRow

Open() 공개 정적인 메소드

Open an Existing xls file for Reading and Modfification
public static Open ( string path ) : XLSWorker
path string
리턴 XLSWorker

Save() 공개 메소드

public Save ( ) : void
리턴 void

SaveAs() 공개 메소드

public SaveAs ( string path ) : void
path string
리턴 void

SaveToMemoryStream() 공개 메소드

public SaveToMemoryStream ( ) : Stream
리턴 Stream

SetActiveSheet() 공개 메소드

public SetActiveSheet ( IXLWorksheet sheet, int headerRowNum = 1, bool noHeaderRow = false ) : void
sheet IXLWorksheet
headerRowNum int
noHeaderRow bool
리턴 void

SetActiveSheet() 공개 메소드

public SetActiveSheet ( int sheetNum, int headerRowNum = 1, bool noHeaderRow = false ) : void
sheetNum int
headerRowNum int
noHeaderRow bool
리턴 void

SetActiveSheet() 공개 메소드

public SetActiveSheet ( string sheetName, int headerRowNum = 1, bool noHeaderRow = false ) : void
sheetName string
headerRowNum int
noHeaderRow bool
리턴 void

WriteToCell() 공개 메소드

public WriteToCell ( string CellID, object Value ) : void
CellID string
Value object
리턴 void

WriteToHttpResponse() 공개 메소드

public WriteToHttpResponse ( string fileName ) : void
fileName string
리턴 void

XLSWorker() 공개 메소드

public XLSWorker ( ) : System
리턴 System