A
A
alex22132014-12-22 04:53:38
ASP.NET
alex2213, 2014-12-22 04:53:38

How to add files already uploaded to the server to the database?

Task: organize the addition of pre-loaded files to the server (AppData / Upload) in the database.
Can you tell me what can be used for this? I got acquainted with mvc not so long ago and have not yet figured out how to work with files on the server, but I can’t find literature specifically on this issue.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Michael Samorokov, 2014-12-22
@Michael_SL

Try using FileSystemWatcher . Subscribe to the file add event, and then add it (name ?) to the database.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question