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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
shanmuganathan rajuPosted Dec 6, 2007, 1:06 AM
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);
}
}
Blocked AccountPosted Dec 6, 2007, 12:43 AM
I hope that will help you.