Solved

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

Posted on 2014-11-19
1
103 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Clone Visual studio 2013 solution 5 16
VB.NET HttpWebRequest 12 34
Open a word document 23 15
Birthdays 3 14
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now