Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
1) create a csv in excel
2) create a database
3) be able to read csv in C language
4) insert data from the csv into the database

What I have tried:

i'm a beginner... so I did not do much
Posted
Updated 12-Jan-22 3:56am
v2
Comments
Richard Deeming 12-Jan-22 8:35am    
This is a "quick answers" forum, not a "teach me how to write code" forum, nor a "do my work for me" forum.

Even if you found someone willing to do so, there is not room here to teach you how to write code.

Talk to your teacher; they're paid to help you with this stuff.
Guillaume Galliano 12-Jan-22 8:37am    
I don't have a teacher I learn by myself that's why I ask for help
Patrice T 12-Jan-22 8:45am    
Best advice: Find a tutorial on those topics.

See Using OleDb to Import Text Files (tab, CSV, custom)[^] for how to read csv files in C#. Google will find you many tutorials on DataBases.
 
Share this answer
 
Comments
Patrice T 12-Jan-22 9:00am    
I fear the question is about using Excel, even if tagged as C#.
Richard MacCutchan 12-Jan-22 9:34am    
As with so many questions it is anyone's guess what it is really about.
You can use below Code Project article that is doing the same thing.

C# - CSV Import Export[^]
 
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