i m a new web developer. i need to show image from F drive to website . please anybody help me best regards . my trial in below ......
button_click
{
var st = from s in db.WOs where s.WONo.StartsWith(TextBox1.Text) select s;
MaskedDataList1.DataSource = st;
MaskedDataList1.DataBind();
var st1 = (from s in db.WOs where s.WONo==TextBox1.Text select s).First();
string ff = st1.filesWO;
Response.ContentType = "image/jpeg"; // for JPEG file
string physicalFileName = @"F:\WO\"+ff;//prWO1-1.jpg";
Image img = new Image();
img.ImageUrl = physicalFileName;


Sunny SharmaRank #223 · 11.1K reputationPosted Sep 15, 2013, 4:14 AM EDT
Please follow his link:
http://www.dotnetperls.com/image-aspnet
Hope it helps :)
Satyapriya NayakRank #47 · 31.5K reputationPosted Sep 15, 2013, 9:34 AM EDT
barcode addict20 reputationPosted Dec 3, 2013, 4:16 PM EST
http://stackoverflow.com/questions/19272842/how-to-display-image-which-is-stored-on-local-drive-or-network-drive
By the way, you can also try some external image web viewing controls if you want to spend the money.