Hello,

So ive created this "nice" texteditor with quite alot of different features and to spice it up a bit i would like to save the files in my database.
Ive already set the same program up with a login system running on the database.

Does anybody know how i can upload textfiles to the database, if even possible?
I know that pictures can, so i figured textfiles would be possible as well

Thanks in advance!

I have already tried this so dont post:
Dim myInsertQuery As String = "INSERT INTO MyTable (MyColumnID, MyColumnText) VALUES ('" & FILENAMEOROTHERID & "', '" & TEXTFILECONTENTS & "');"