Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,



I written the code to load the image from the local drive(E) using code behind



dp.innerHtml = @"<img src=""E:\myimage.png"" />"; but the image is not loading instead it is showing a cracked file please help me how can i load image from the local drive in page load
Posted
Comments
arvind mepani 11-Jul-14 2:01am    
Is your project is running on E: drive?
Suvabrata Roy 11-Jul-14 2:08am    
First add that image to your project and then refer that in src
Member 10226004 11-Jul-14 2:11am    
i need to load the image from local drive without adding the image to a project

1 solution

Here you will have your answer :

How to display image which is stored in local drive?[^]

Good luck.
 
Share this answer
 

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