How to view resume which is stored in sql server 2008r2
I want code for viewing resume in textbox by selecting resume which are stored in database
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Khargesh RajputRank #616 · 3.9K reputationPosted Apr 15, 2015, 8:15 PM EDT
and bind resume text to textbox(Multiline="True")
Txtbox.Text=Ds.Tables[0].Rows[0]["resume"].ToString();
Manoj BhoirRank #599 · 4K reputationPosted Apr 16, 2015, 1:53 AM EDT
If it is plain text then you can directly retrieve data from database and display it in normal multiline textbox.
and if it is stored in byte array format i.e. (Word or PDF Document) then you can use something like this :
Response.ContentType = "application/octet-stream";
Response.AddHeader("content-disposition", "inline; filename=" +fileName);
Response.BinaryWrite(Buffer);
Response.Flush();
Response.End();