Opening a document file in a formatted way.
-
I am working on a jobsite project.When a user upload his resume it is saved as a document file in a folder.My requiremnt is when the user wants to edit his/her profile his resume should be opened and displayed to him as he/she uploaded it with all formatted text.I im able to locate and open the file but i am notable to show it in a formatted way to the user. the code written by me is: Dim strContents As String Dim objReader As StreamReader objReader = New StreamReader(Server.MapPath("Resume\") & filepath) strContents = objReader.ReadToEnd() objReader.Close() lbl_ResumeDetail.Text = strContents filepath is a string variable in which i am accessing the filename from the database. Your help in this regard will be highly beneficial and awaited. Madhulika Agarwal.
-
I am working on a jobsite project.When a user upload his resume it is saved as a document file in a folder.My requiremnt is when the user wants to edit his/her profile his resume should be opened and displayed to him as he/she uploaded it with all formatted text.I im able to locate and open the file but i am notable to show it in a formatted way to the user. the code written by me is: Dim strContents As String Dim objReader As StreamReader objReader = New StreamReader(Server.MapPath("Resume\") & filepath) strContents = objReader.ReadToEnd() objReader.Close() lbl_ResumeDetail.Text = strContents filepath is a string variable in which i am accessing the filename from the database. Your help in this regard will be highly beneficial and awaited. Madhulika Agarwal.
which allows you to upload the file format?
my english is very bad!