hai,
I am saving the images to the server by using response.saveas("path name"). The images is saving the located path but the preview is not there. I am using in .net. please can you give any suggestion.
With regards,
k.Jayasabari.
Open the file into a memory stream and use a bufferreader to convert it to byte[],
and store the byte[] into the BLOB field of your DB.
- BinaryFormatter bf = new BinaryFormatter();
-
MemoryStream ms = new MemoryStream();
-
bf.Serialize(ms, theImageFileObject);
-
byte[] byteArray = ms.ToArray();
-
cheers