Click here to Skip to main content
15,892,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How can I use Excel data to fill a WPF listbox?
I'm a beginner, can someone please show me an example?
Posted

1 solution

You need to use Office interop. Start here:
http://msdn.microsoft.com/en-us/library/bb726434%28v=office.12%29.aspx[^],
http://msdn.microsoft.com/en-us/library/microsoft.office.interop.excel%28v=office.14%29.aspx[^].

Basically, you start development with "Add Reference". Add a reference from the tab ".NET" of the "Add Reference" window; select "Microsoft.Office.Interop.Excel" of appropriate version.

—SA
 
Share this answer
 
v2
Comments
Monjurul Habib 30-Mar-12 4:50am    
5!
Sergey Alexandrovich Kryukov 30-Mar-12 11:21am    
Thank you, Monjurul.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900