Solved

Help with loading multiple Grids from multiple workbooks in an Excel file using VB.NET

Posted on 2014-11-19
1
116 Views
Last Modified: 2014-11-20
Hi,

How do you load an excel file with three workbooks  ItemA, ItemB, ItemC to three Girds, Grid1 for data in ItemA, Grid2 for data in ItemB,Grid3 for data in ItemC?

Kind Regards,

Victor
0
Comment
Question by:vcharles
1 Comment
 
LVL 20

Accepted Solution

by:
ElrondCT earned 500 total points
ID: 40454149
A DataGrid or DataGridView isn't really a data storage structure. It's a display control. You want to load the data from Excel into a DataTable, then display it in a grid of your choice.

One way of many to load the data from Excel would be using a function like shown in http://www.experts-exchange.com/Programming/Languages/.NET/Visual_Basic.NET/Q_28310222.html
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question