Click here to Skip to main content
15,892,517 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,I have an excel sheet and it contains some employ details like their name address DOB and ID no.I am finding problem in searching excel data by employee ID no.its not displaying data related to entered ID no in data grid view.Please help me out how can i do that.How to search by employee ID and how to display it in Data Grid View.
Posted
Comments
Maciej Los 27-Jul-15 4:20am    
What have you tried? Where are you stuck?

1 solution

If I understand your question correctly, you try to read the Excel file from C# to get som data out of it. IN that case, have a look at:
- Working with MS Excel(xls / xlsx) Using MDAC and Oledb[^]
- Reading and Writing Excel using OLEDB[^]
 
Share this answer
 

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