Spread for ASP.NET 9.0 Product Documentation
LoadTextFile(SheetView,String,Boolean,IncludeHeaders,String,String,String) Method


Sheet into which to load the text data
Path and name of file from which to load text
Whether to bypass formatting
Whether headers are handled as data
Row delimiter string
Column delimiter string
Cell delimiter string
Loads the text file with the specified formatting.
Syntax
'Declaration
 
Public Overloads Shared Sub LoadTextFile( _
   ByVal sheetView As SheetView, _
   ByVal fileName As String, _
   ByVal unformatted As Boolean, _
   ByVal includeHeaders As IncludeHeaders, _
   ByVal rowDelimiter As String, _
   ByVal columnDelimiter As String, _
   ByVal cellDelimiter As String _
) 
'Usage
 
Dim sheetView As SheetView
Dim fileName As String
Dim unformatted As Boolean
Dim includeHeaders As IncludeHeaders
Dim rowDelimiter As String
Dim columnDelimiter As String
Dim cellDelimiter As String
 
SpreadSerializer.LoadTextFile(sheetView, fileName, unformatted, includeHeaders, rowDelimiter, columnDelimiter, cellDelimiter)
public static void LoadTextFile( 
   SheetView sheetView,
   string fileName,
   bool unformatted,
   IncludeHeaders includeHeaders,
   string rowDelimiter,
   string columnDelimiter,
   string cellDelimiter
)

Parameters

sheetView
Sheet into which to load the text data
fileName
Path and name of file from which to load text
unformatted
Whether to bypass formatting
includeHeaders
Whether headers are handled as data
rowDelimiter
Row delimiter string
columnDelimiter
Column delimiter string
cellDelimiter
Cell delimiter string
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

SpreadSerializer Class
SpreadSerializer Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.