Tay Rich

Tay Rich

  • NA
  • 48
  • 5.3k

MVC Using StreamReader-Writer with Textfile

May 12 2020 8:51 AM
I would like to know how to use a textfile as a "database". I was previously using SQL to store/use my data. But I need to change that. It is for an MVC project, so I need to save data from a prompt. That data needs to be written to a textfile. I also need to be able to read the data back to my view. And then delete, alter it etc. as needed. Hope this makes sense. Assuming I need to use Steam files etc. But need used it in MVC. TIA

Answers (3)