Link to home
Start Free TrialLog in
Avatar of VBBRett
VBBRett

asked on

How would you do a connection string in OLE DB and write a select * from Excel spreadsheet query?

I figured out how to connect to the Excel spreadsheet in my code, but the only thing holding me back is how to write a query string in vb.net with OLE DB.  How would I do a simple select * from (excel spreadsheet) and how would I do a select column1 from (excel spreadsheet)?

Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Select * From [Sheet1$]
Select Column1 From [Sheet1$]

Bob
ASKER CERTIFIED SOLUTION
Avatar of YZlat
YZlat
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial