Click here to Skip to main content
12,401,867 members (66,286 online)
Rate this:
 
Please Sign up or sign in to vote.
how to open xml file using local disk url? example my url is "C:\\Users\\FABS\\Documents\\Xml Search\\upload\\BOOK.xml" ...


Now i can open this xml file from asp.net?????

Actually i want to open this xml file in browser pls any one guide me????
Posted 28-Jan-13 3:29am
Deenuji3.9K
Updated 28-Jan-13 3:30am
v2
Comments
Edo Tzumer 28-Jan-13 11:48am
   
What's the situation?

Do you want a web page to return XML content?
Do you want to add a link to an XML file, what when clicked will open inside the browser?
Deenuji 28-Jan-13 23:18pm
   
Actually i have URL for xml file which is located in local drive....i want to open those file wen i click that link in gridview.....now i can do select that link and can download that file...but need to open that xml file through browser.....Pls help me?????

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Did you try anything? Perhaps a hyperlink with the URL of XML in your web page?
  Permalink  
Comments
Deenuji 28-Jan-13 23:18pm
   
Actually i have URL for xml file which is located in local drive....i want to open those file wen i click that link in gridview.....now i can do select that link and can download that file...but need to open that xml file through browser.....Pls help me?????
Sandeep Mewara 28-Jan-13 23:44pm
   
When you make the link-file downloadable, it will automatically provide option to open/save.

When saved, you can open it. It will open in default editor by default.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160721.1 | Last Updated 28 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100