Sample code on resume retrieval from database
Could someone post a sample code on resume retrieval from the database which is stored as blob (need to show the resume in the browser without any special characters such as ...š0ØRüG).
NOTE : [I][This question was asked by addanki_mye, I am posting it in proper forum][/I]
Re: Sample code on resume retrieval from database
This will works for image stored as blob.
try this after populating the datatable with records.
FileStream FS = new FileStream("image.jpg", FileMode.Create);
byte[] blob = (byte[])dataRow[2];
FS.Write(blob,0,blob.Length);
pctimg.Image = Image.FromFile("image.jpg");