I have a Switch that according to the given status it throws an image, however I would like to also play the numbering of this status in the image (that text that usually when we click on the image it appears). I wonder if there is any property that does this. Here is the code that I did.
switch (codParc)
{
case 1:
imgStats.ImageUrl = "../images/yellowStatus.png";
break;
case 2:
imgStats.ImageUrl = "../images/yellowStatus.png";
break;
case 4:
imgStats.ImageUrl = "../images/greenStatus.png";
break;
default:
imgStats.ImageUrl = "../images/neutralStatus.png";
break;
}
To get a sense of what the image has to look like, it would look something like this: