GrapeCity.Xaml.SpreadSheet.Data
SetCsv(Int32,Int32,String,String,String,String) Method
Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace > Worksheet Class > SetCsv Method : SetCsv(Int32,Int32,String,String,String,String) Method
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 Integer, _
   ByVal column As Integer, _
   ByVal text As String, _
   ByVal rowDelimiter As String, _
   ByVal columnDelimiter As String, _
   ByVal cellDelimiter As String _
) 
'Usage
 
Dim instance As Worksheet
Dim row As Integer
Dim column As Integer
Dim text As String
Dim rowDelimiter As String
Dim columnDelimiter As String
Dim cellDelimiter As String
 
instance.SetCsv(row, column, text, rowDelimiter, columnDelimiter, cellDelimiter)
public void SetCsv( 
   int row,
   int column,
   string text,
   string rowDelimiter,
   string columnDelimiter,
   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.Xaml.SpreadSheet.Data.TextFileOpenFlags.None);
GcSpreadSheet1.Sheets(0).SetCsv(0, 0, "test", ChrW(13), ",", "")
GcSpreadSheet1.Sheets(0).SetCsv(0, 0, "test", ChrW(13), ",", "", GrapeCity.Xaml.SpreadSheet.Data.TextFileOpenFlags.None)
See Also

Reference

Worksheet Class
Worksheet Members
Overload List