Get the value of the cell.
1 excel.Cell.getCellValue
<excel.Cell.getCellValue>
<cl /> +
</excel.Cell.getCellValue>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Ecl | Cell | Cell. |
Returns | |
---|---|
Type | Description |
string | Value of the cell. |
Example
Copy
<xsql-script> <body> <set name='wb'> <excel.Workbook /> </set> <set name="sheet_1"> <excel.Workbook.createSheet name="Sheet 1"> <wb/> </excel.Workbook.createSheet> </set> <set name="cell_value"> <excel.Sheet.createCell row="3" col="2"> <sheet_1/> </excel.Sheet.createCell> </set> <set name="cell_show"> <excel.Sheet.createCell row="5" col="3"> <sheet_1/> </excel.Sheet.createCell> </set> <excel.Cell.setCellValue> <cell_value/> <string>Text</string> </excel.Cell.setCellValue> <excel.Cell.setCellValue> <cell_show/> <excel.Cell.getCellValue> <cell_value/> </excel.Cell.getCellValue> </excel.Cell.setCellValue> <excel.Workbook.write> <wb/> <file name="test.xls" type="absolute"/> </excel.Workbook.write> </body> </xsql-script>