Hello,
I want to work with the grid of Janusys GridEX and export data in the grid. I also use Linq to Sql els as a container for data.
Here is my code
Dim workbook As Workbook = New Workbook()
Dim sheet As Worksheet = workbook.Worksheets(0)
sheet.InsertDataTable(CType(Me.GridEX1.DataSource, DataTable), True, 2, 1, -1, -1)
Here's my mistake
" Unable to cast object of type 'System.Data.Linq.DataQuery `1 [CAND_LANDI.wAdresseSelect]' to type 'System.Data.DataTable'."
Can you help me, thank you in advance.
Guy Muller