Click here to Skip to main content
15,919,341 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to add a excel file in datagrid view for the formation of table but i dont knw how to add that file in it.plz provide any reference or give any idea how can i add that file in it rather adding single values every time.plz
Posted

 
Share this answer
 
Just add link of file in the grid,upon clicking, the requested file will be downloaded.
 
Share this answer
 
Comments
Member 8953292 27-Jun-12 5:26am    
by doing so it is showing an exception as Microsoft.ACE.OLEDB.4.0 is not registered in local machine.
if this is rectified then it is showing exception as ISAM not found.
smfarooq 27-Jun-12 9:29am    
Can you show me your code?
Hi,

Are you try to embed excel file in datagridview?
 
Share this answer
 
Comments
Member 8953292 27-Jun-12 4:18am    
yes

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