ferhelping
Programmer
This is a piece of code from my ASP page. Everything works fine but when it is displayed, the database sends the PriceGlass and PriceBottle as text, without the currency format. I need to make them display as currency, as they are in the database, with the $ symbol.
<% ...
while (!cursorW.EOF){
Response.Write("<tr><td>" + cursorW('WineID') + "</td>"
Response.Write("<td>" + cursorW('WineName') + "</td>"
Response.Write("<td>"
Response.Write(cursorW('PriceGlass'));
Response.Write("</td>"
Response.Write("<td>"
Response.Write(cursorW('PriceBottle'));
Response.Write("</td></tr>"
Response.Write("<tr><td></td>"
Response.Write("<td colspan='3'><pre>" + cursorW('WineDescription') + "</pre></td></tr>"
cursorW.MoveNext();
}
... %>
Please help me.
Thank you very much.
<% ...
while (!cursorW.EOF){
Response.Write("<tr><td>" + cursorW('WineID') + "</td>"
Response.Write("<td>" + cursorW('WineName') + "</td>"
Response.Write("<td>"
Response.Write(cursorW('PriceGlass'));
Response.Write("</td>"
Response.Write("<td>"
Response.Write(cursorW('PriceBottle'));
Response.Write("</td></tr>"
Response.Write("<tr><td></td>"
Response.Write("<td colspan='3'><pre>" + cursorW('WineDescription') + "</pre></td></tr>"
cursorW.MoveNext();
}
... %>
Please help me.
Thank you very much.