Quantcast
Channel: Classic ASP
Viewing all articles
Browse latest Browse all 488

Programmatically check checkbox based on retrieved db value

$
0
0

Hi all,

I'm trying to programmatically check a checkbox based on a value of '1' returned from the database.  The following does not work.

if oRs("cb_black") = "1"

   cb_black.checked ="checked"  

end if

I would really appreciate your help.  Thanks.


Viewing all articles
Browse latest Browse all 488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>