Spread ASP.NET 6.0 Product Documentation
LoadTextFile(SheetView,Boolean,IncludeHeaders,String,String,String,String,Boolean) Method
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > SpreadSerializer Class > LoadTextFile Method : LoadTextFile(SheetView,Boolean,IncludeHeaders,String,String,String,String,Boolean) Method


sheetView
Sheet into which to load the text data
unformatted
Whether to bypass formatting
includeHeaders
Whether headers are handled as data
rowDelimiter
Row delimiter string
columnDelimiter
Column delimiter string
cellDelimiter
Cell delimiter string
data
String containing data to load
loadFormulas
Whether to load formulas

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 rowDelimiter As String, _
   ByVal columnDelimiter As String, _
   ByVal cellDelimiter As String, _
   ByVal data As String, _
   ByVal loadFormulas As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim sheetView As SheetView
Dim unformatted As Boolean
Dim includeHeaders As IncludeHeaders
Dim rowDelimiter As String
Dim columnDelimiter As String
Dim cellDelimiter As String
Dim data As String
Dim loadFormulas As Boolean
 
SpreadSerializer.LoadTextFile(sheetView, unformatted, includeHeaders, rowDelimiter, columnDelimiter, cellDelimiter, data, loadFormulas)
C# 
public static void LoadTextFile( 
   SheetView sheetView,
   bool unformatted,
   IncludeHeaders includeHeaders,
   string rowDelimiter,
   string columnDelimiter,
   string cellDelimiter,
   string data,
   bool loadFormulas
)

Parameters

sheetView
Sheet into which to load the text data
unformatted
Whether to bypass formatting
includeHeaders
Whether headers are handled as data
rowDelimiter
Row delimiter string
columnDelimiter
Column delimiter string
cellDelimiter
Cell delimiter string
data
String containing data to load
loadFormulas
Whether to load formulas

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.