Tuesday, December 31, 2013

What am I doing wrong? Label text greater than

Hi JBo796,


You can convert a string to a number by using methods in the Convert class. Try the following code:



int i = Convert.ToInt32(aginglabelvalue.Text);
if (i >= 0)//(i==0)
Image1.ImageUrl = "images/logo.png";
else
Image1.ImageUrl = "images/refresh.png";





We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

Click HERE to participate the survey.


No comments:

Post a Comment