I am trying to creage an image in ASP. I have tried this code but it does not work:
Image img;
protected void Page_Load(object sender, EventArgs e)
{
img = new Image();
img.ImageUrl = "~/images/numbersHorizontal.png";
img.ID = "img";
}
I am trying to creage an image in ASP. I have tried this code but it does not work:
Image img;
protected void Page_Load(object sender, EventArgs e)
{
img = new Image();
img.ImageUrl = "~/images/numbersHorizontal.png";
img.ID = "img";
}