Converting Image file to binary file
-
How to convert Any type file (bmp,Jpg,jpeg etc...)to binary or blob file to store it in sql 2005.
-
How to convert Any type file (bmp,Jpg,jpeg etc...)to binary or blob file to store it in sql 2005.
Any file (including text file) is a binary file. You can treat any file as a binary large object (blob) to be stored in a database. You don't need to do any conversion. Any comments on this opinion are welcome.
-
Any file (including text file) is a binary file. You can treat any file as a binary large object (blob) to be stored in a database. You don't need to do any conversion. Any comments on this opinion are welcome.
correct. Any file is binary, some files also are text files, others also are image files, etc. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
Happy New Year to all.
We hope 2010 soon brings us automatic PRE tags!
Until then, please insert them manually.
-
How to convert Any type file (bmp,Jpg,jpeg etc...)to binary or blob file to store it in sql 2005.
Have a look at the following article: How To Read and Write BLOB Data by Using ADO.NET with Visual C# .NET[^]
Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion