View unanswered posts | View active topics
It is currently Wed Nov 27, 2024 3:35 pm
|
Page 1 of 1
|
[ 2 posts ] |
|
Author |
Message |
Agapetos
|
Spreadsheet
i want to display excel spreadsheet ( easyxls ) within vbnet form
|
Tue Jun 20, 2006 6:17 pm |
|
|
exari
Joined: Sat Apr 22, 2006 10:20 am Posts: 5
|
DataGrid
At the moment, we don't provide a visual grid to display the spreadsheet.
You can load the data from the excel spreadsheet using EasyXLS and display it in the .NET DataGrid (System.Web.UI.WebControls.DataGrid) or any other grid.
Here is some sample code:
----------------------------------
'Create an instance of the object that generates Excel files
Dim xls As New ExcelDocument
' Reading the content of the Excel File as DataSet
dataGrid.DataSource = xls.easy_ReadSheet_AsDataSet("SourceData.xls", "Sheet1", sLicense, sLicenseKey)
' Data binding
dataGrid.DataBind()
'Dispose memory
xls.Dispose()
----------------------------------
|
Wed Jun 21, 2006 11:09 am |
|
|
|
Page 1 of 1
|
[ 2 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|