Craigieboy
Programmer
Hi all...
I have a SQL database with a column named 'number_of_wins'. In this column are numbers - zero to whatever.
In an ASP page I am displaying several columns in a table and instead of displaying my number of wins column as purely a number I would like to display it as an image, for example a small blue block - 3 blue blocks if the value is 3 in the database, etc. if you know what I mean.
Is there a way of carrying out this conversion depending on the number value in the database?
I look forward to any pointers.
With thanks in advance,
Craig
I have a SQL database with a column named 'number_of_wins'. In this column are numbers - zero to whatever.
In an ASP page I am displaying several columns in a table and instead of displaying my number of wins column as purely a number I would like to display it as an image, for example a small blue block - 3 blue blocks if the value is 3 in the database, etc. if you know what I mean.
Is there a way of carrying out this conversion depending on the number value in the database?
I look forward to any pointers.
With thanks in advance,
Craig