Click here to Skip to main content
15,881,413 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
How do I read data from Excel and also write using c#.net?
Can I use excel as database for C# program? If yes then How?
I want to read 8 columns in each row, show as a form, Update it,save and move to next row data of excel sheet.
Posted

1 solution

There are numerous ways including OpenXML and the Microsoft Interop dlls or even OLEDB.

See the following CodeProject articles for various examples:

Generate Excel files without using Microsoft Excel[^]

Reading and Writing Excel using OLEDB[^]

Automating MS Excel Using Visual Studio .NET[^]

A free "Export to Excel" C# class, using OpenXML[^]
 
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