How to give virtual path
ex: D:\Temp\pic.jpg
using asp.net with c# Please Help me
Advance Thanks
by
Shan
How to give virtual path
ex: D:\Temp\pic.jpg
using asp.net with c# Please Help me
Advance Thanks
by
Shan
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Blocked AccountRank #403 · 6.2K reputationPosted Dec 5, 2007, 7:43 PM EST
I hope that will help you.
shanmuganathan rajuRank #4,191 · 359 reputationPosted Dec 5, 2007, 8:06 PM EST
I need this path
public
partial class ImageDisp_Image5 : System.Web.UI.Page{
protected void Page_Load(object sender, EventArgs e){
Image img = new Image(); // img.ImageUrl = "~/Images/Nature/Image1.jpg"; // No needimg.ImageUrl =
@"D:\ShanSample\Tests1\Images\Nature\Image1.jpg"; // I NeedForm.Controls.Add(img);
}
}