I have a database where I want the box to load checked if a 1 is in the database field and unchecked if it is 0. Here is the code I am using and it doesn't work, any suggestions.
<input <% if dbrs2.Fields.Item("goalsmidsupapprove"
.value = "1" Then Response.write("1"
: Response.Write("0"
%> name="supercheck" type="checkbox" id="supercheck" value="1">
<input <% if dbrs2.Fields.Item("goalsmidsupapprove"