|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
Formatting true/false to yes/no
<i><b>Originally posted by : z</b></i><br />Hello;<br />Can someone please tell me how to format true/false field to yes/no after retrieving from DB. Thanks.<br /><br />
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : Mage (mage@baltnet.ru)</b></i><br />Hi!<br /><br />You can't change type of the records in your recordset but you can use IF to do something:<br /><br />if yourRS("TrueFalsefield1") then response.write "yes" else response.write "no"<br /><br />Something like this.<br /><br />Best regards,<br />Mage<br /><br />------------<br />z at 3/28/2001 1:49:05 PM<br /><br />Hello;<br />Can someone please tell me how to format true/false field to yes/no after retrieving from DB. Thanks.<br /><br />
|
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > Formatting true/false to yes/no |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|