Calling text file
calling text.txt file in c#, i want to set the connection to db to check txt file with conection string in drive c,how can i go about it
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Avikshith AradhyaRank #4,672 · 331 reputationPosted May 31, 2016, 2:24 AM EDT
Avikshith AradhyaRank #4,672 · 331 reputationPosted May 31, 2016, 2:12 AM EDT
filename.txt is the name of your file.
Then, connStr contains the contents of the file.
Carlos kambuiRank #2,642 · 528 reputationPosted May 31, 2016, 2:19 AM EDT
Carlos kambuiRank #2,642 · 528 reputationPosted May 31, 2016, 2:59 AM EDT