N/APosted on - 11/29/2012
I want to know how to transfer the code image into binary for my project. I hope it will immediately solve it because it requires me to pass in my computer subject.
How to transfer the source code image into binary
Is this for an SQL server? If so, then you have to first set the data type of the field "Image" in which you want your image to be stored. if you want to convert an Image to Binary codes you could try using these codes and put it on the data table.
Converting Image to Binary :
Public byte  ObjectToByteArray (Object obj)
if (obj == null)
BinaryFormatter bf = new BinaryFormatter();
MemoryStream ms = new MemoryStream();
Hope this helps! And hope you pass your exam!