Click here to Skip to main content
15,881,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Updated 28-Jan-13 3:30am
v2
Comments
Joezer BH 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

Did you try anything? Perhaps a hyperlink with the URL of XML in your web page?
 
Share this answer
 
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900