SteveSensei
09-14-2006, 10:06 PM
Okay, this is driving me crazy, as it's happening in two different sites. I have a bit field in MS SQL Server with the value set to 1 or 0, representing True of False. The code I'm using to retrieve the data is:
<% If (rsTutorDetail.Fields.Item("availDay").Value) = True THEN Response.Write "Days" End If %>
The word Days does not print out until I add this next line above the code:
<% Response.Write (rsTutorDetail.Fields.Item("availDay").Value) %>
How can I get the word Days to print out without using both lines of code?
<% If (rsTutorDetail.Fields.Item("availDay").Value) = True THEN Response.Write "Days" End If %>
The word Days does not print out until I add this next line above the code:
<% Response.Write (rsTutorDetail.Fields.Item("availDay").Value) %>
How can I get the word Days to print out without using both lines of code?