Spread Silverlight Documentation
SetCsv(Int32,Int32,String,String,String,String) Method
Example 


The start row.
The start column.
The CSV text.
The row delimiter.
The column delimiter.
The cell delimiter.
Sets CSV text in the sheet.
Syntax
'Declaration
 
Public Overloads Sub SetCsv( _
   ByVal row As System.Integer, _
   ByVal column As System.Integer, _
   ByVal text As System.String, _
   ByVal rowDelimiter As System.String, _
   ByVal columnDelimiter As System.String, _
   ByVal cellDelimiter As System.String _
) 
'Usage
 
Dim instance As Worksheet
Dim row As System.Integer
Dim column As System.Integer
Dim text As System.String
Dim rowDelimiter As System.String
Dim columnDelimiter As System.String
Dim cellDelimiter As System.String
 
instance.SetCsv(row, column, text, rowDelimiter, columnDelimiter, cellDelimiter)
public void SetCsv( 
   System.int row,
   System.int column,
   System.string text,
   System.string rowDelimiter,
   System.string columnDelimiter,
   System.string cellDelimiter
)

Parameters

row
The start row.
column
The start column.
text
The CSV text.
rowDelimiter
The row delimiter.
columnDelimiter
The column delimiter.
cellDelimiter
The cell delimiter.
Example
This example uses the SetCsv method.
gcSpreadSheet1.Sheets[0].SetCsv(0, 0, "test", "/r", ",", "");
//gcSpreadSheet1.Sheets[0].SetCsv(0, 0, "Testing", "/r", ",", "", GrapeCity.Windows.SpreadSheet.Data.TextFileOpenFlags.None);
GcSpreadSheet1.Sheets(0).SetCsv(0, 0, "test", ChrW(13), ",", "")
'GcSpreadSheet1.Sheets(0).SetCsv(0, 0, "test", ChrW(13), ",", "", GrapeCity.Windows.SpreadSheet.Data.TextFileOpenFlags.None)
Requirements

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

See Also

Reference

Worksheet Class
Worksheet Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.