Spread for ASP.NET 7.0 Product Documentation
LoadTextFile(SheetView,Boolean,IncludeHeaders,Boolean,String,String,String,String) Method
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > SpreadSerializer Class > LoadTextFile Method : LoadTextFile(SheetView,Boolean,IncludeHeaders,Boolean,String,String,String,String) Method


sheetView
Sheet into which to load the text data
unformatted
Whether to bypass formatting
includeHeaders
Whether headers are handled as data
includeFooter
Whether the footer is handled as data
rowDelimiter
Row delimiter string
columnDelimiter
Column delimiter string
cellDelimiter
Cell delimiter string
data
String that contains data to load

Glossary Item Box

Loads the text (string) data with the specified formatting.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Sub LoadTextFile( _
   ByVal sheetView As SheetView, _
   ByVal unformatted As Boolean, _
   ByVal includeHeaders As IncludeHeaders, _
   ByVal includeFooter As Boolean, _
   ByVal rowDelimiter As String, _
   ByVal columnDelimiter As String, _
   ByVal cellDelimiter As String, _
   ByVal data As String _
) 
Visual Basic (Usage)Copy Code
Dim sheetView As SheetView
Dim unformatted As Boolean
Dim includeHeaders As IncludeHeaders
Dim includeFooter As Boolean
Dim rowDelimiter As String
Dim columnDelimiter As String
Dim cellDelimiter As String
Dim data As String
 
SpreadSerializer.LoadTextFile(sheetView, unformatted, includeHeaders, includeFooter, rowDelimiter, columnDelimiter, cellDelimiter, data)
C# 
public static void LoadTextFile( 
   SheetView sheetView,
   bool unformatted,
   IncludeHeaders includeHeaders,
   bool includeFooter,
   string rowDelimiter,
   string columnDelimiter,
   string cellDelimiter,
   string data
)

Parameters

sheetView
Sheet into which to load the text data
unformatted
Whether to bypass formatting
includeHeaders
Whether headers are handled as data
includeFooter
Whether the footer is handled as data
rowDelimiter
Row delimiter string
columnDelimiter
Column delimiter string
cellDelimiter
Cell delimiter string
data
String that contains data to load

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.