How to save file in SQL Server database if have file path?

后端 未结 5 2263
生来不讨喜
生来不讨喜 2020-12-15 00:16

I am building some C# desktop application and I need to save file into database. I have come up with some file chooser which give me correct path of the file. Now I have que

5条回答
  •  自闭症患者
    2020-12-15 00:57

    If you're using SQL Server 2008, you could use FILESTREAM (getting started guide here). An example of using this functionality from C# is here.

提交回复
热议问题