Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
イメージをデータベースにバイナリ形式で保存する最良の方法は何ですか? また、C# を使用してそれを実装するにはどうすればよいですか?
SQL Server を使用している場合は、Image 列タイプを使用できます。
イメージをバイナリに変換するための答えは、次の場所にあります。
イメージをバイナリに変換しますか?
挿入できるようにするには、SQL データベースに BLOB 列が必要です。
編集:
データベースから取得したい場合は、次の記事を使用して取得できます。
http://support.microsoft.com/kb/326502