Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have GridControl, and i want users import their excel files to this grid in WPF.
I mean they will create their own excel file. And will choose it.

How can i do that?
Posted
Updated 7-Feb-13 1:48am
v2

1 solution

You would need to write your own procedure to read excel data, populate a collection and then bind it to a grid.
Here[^] is an example.

Here[^] is an example where you can do this without excel itself.
 
Share this answer
 
Comments
Hslldm 7-Feb-13 8:27am    
Can i create a table in WPF and let users set the column and row number? How?

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