Results 1 to 2 of 2

Thread: Sample code on resume retrieval from database

  1. #1
    Expert Member
    Join Date
    Oct 2006
    Answers
    209

    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 : [This question was asked by addanki_mye, I am posting it in proper forum]


  2. #2
    Expert Member
    Join Date
    Dec 2006
    Answers
    204

    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");


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact