Click here to Skip to main content
Rate this: bad
good
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.8K
Edited 28-Jan-13 3:30am
v2
Comments
Edo Tzumer at 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 at 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 at 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 at 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
0 Sergey Alexandrovich Kryukov 269
1 Peter Leow 205
2 OriginalGriff 200
3 _Amy 190
4 Andreas Gieriet 180
0 OriginalGriff 7,540
1 Sergey Alexandrovich Kryukov 6,412
2 Maciej Los 3,849
3 Peter Leow 3,653
4 CHill60 2,702


Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 28 Jan 2013
Copyright © CodeProject, 1999-2014
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