0

I wanna know how to save File in Database I made DB like this

enter image description here

But I don't know how to use this type of format and Maybe this way is false

Julian
  • 33,915
  • 22
  • 119
  • 174

1 Answers1

0

You should store the file contents in a varbinary field in the database. The way of doing this depends on the tools you are using.

If you use Entity Framework for example, then you should use a byte array to represent the content of the file.

Trifon
  • 1,081
  • 9
  • 19