Hello Experts,
I am little bit confuse for work on it.
I have a document file path in database and having files in related folders
and i want to just show the doc file on the aspx page which path is come from the database.
now i have tried many ways to use it
1:Show in the Iframe
{
iframe1.Attributes["src"]="path";
//but this is not work
}
2: i am not use it in html5 with object and datasource this is not getting file path from c#
3:i have a tried another solution for it.it is complex for me
but i tried
in this step i am trying to convert doc file to html then it show in the webpage with iframe
may be it is work
but when i give the path from database then this is not working
can any one suggest to solve it how can i come from it
Note:* how can i show the documents files on the webpage when path come from the database?
Loading


Manoj BhoirRank #599 · 4K reputationPosted May 31, 2015, 10:15 PM EDT
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted May 31, 2015, 10:24 PM EDT
Rahul PrasadRank #2,557 · 546 reputationPosted Jun 5, 2015, 12:32 AM EDT
Document document = new Document();
document.LoadFromFile(@"..\wordtohtml.doc");
//Save doc file to html
document.SaveToFile("toHTML.html", FileFormat.Html);
WordDocViewer("toHTML.html");
Aditya Chauhan121 reputationPosted May 31, 2015, 10:17 PM EDT
Manoj BhoirRank #599 · 4K reputationPosted May 31, 2015, 10:21 PM EDT
Aditya Chauhan121 reputationPosted May 31, 2015, 10:25 PM EDT
Aditya Chauhan121 reputationPosted May 31, 2015, 10:26 PM EDT
Manoj BhoirRank #599 · 4K reputationPosted May 31, 2015, 10:54 PM EDT
Aditya Chauhan121 reputationPosted May 31, 2015, 10:56 PM EDT
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted May 31, 2015, 10:58 PM EDT
Aditya Chauhan121 reputationPosted Jun 1, 2015, 12:46 AM EDT
Aditya Chauhan121 reputationPosted Jun 1, 2015, 9:52 AM EDT
Manoj BhoirRank #599 · 4K reputationPosted Jun 1, 2015, 8:56 PM EDT
Aditya Chauhan121 reputationPosted Jun 1, 2015, 11:21 PM EDT
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Jun 1, 2015, 11:31 PM EDT
Aditya Chauhan121 reputationPosted Jun 4, 2015, 8:54 AM EDT
Manoj BhoirRank #599 · 4K reputationPosted Jun 4, 2015, 9:04 AM EDT