❔ Link text files to SQL database using C#
Hi! I'm trying to find the codes for linking text file data to SQL database in table but Idk where to start since C# is new for me. I should able to read the data of the text file in SQL Server Management Studio. I would like to get some help.
7 Replies
when you say linking text file data, do you mean store the text in the database?
yes in a table form
do you know how to add text to a table in SQL outside of C#?
actually I'm doing this for my internship project. So I have to use C# since they are using it here
EF Core, then?
Start with parsing the text file. You should be able to read each line and split it up into the columns needed for the db table. Have you done that much at least? You've asked this before so what code do you have so far?
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.