ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.

https://github.com/unvell/ReoGrid/issues

#1 2014-08-14 16:45:32

[email protected]
Member
Registered: 2014-08-09
Posts: 24

Use in VB.net

I have made a spreadsheet using the editor.exe of the demo'
Can I use the spreadsheet in VB.net 2012 as a customer input,
can I read-out the cell values ?

Peter

Offline

#2 2014-08-15 00:02:30

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: Use in VB.net

Yes, You can use the spreadsheet in VB.NET 2012, see http://reogrid.net/faq/how-to-use-reogrid-in-vb-net/ for 'Load template from stream'.

There are many methods could be used to read values from cell:

Dim value as Object = grid[1, 2]
// or
Dim value as Object = grid["A2"]
// or 
grid.GetCellData
// or
grid.GetCellDisplay

// or
Dim cell as ReoGridCell = grid.Cells[1, 2]
Dim value as Object = cell.Data

http://reogrid.net/document/cell/

best, Jing

Offline

Board footer

Powered by FluxBB