양식에 3 개의 체크 박스가 있으며 여러 선택이 가능합니다. 내 데이터베이스에는 해당 특정 열에 대해 둘 이상의 값이 있으며 해당 데이터를 검색하고 내 확인란을 선택해야합니다. 단일 값에 대해 출력을 얻었습니다. 이것은 고전적인 ASP를 사용하여 달성되어야합니다.
<input id="_mover" type="checkbox" name="company_type" value="Mover" <%if rs("COMPANY_TYPE")="Mover" then%> checked="true" <%End If%>>
<label for="mover">Mover</label>
<input id="_lender" type="checkbox" name="company_type" value="Lender" <%if rs("COMPANY_TYPE")="Lender" then%> checked="true" <%End If%>>
<label for="lender">Lender</label>
<input id="_childcare" type="checkbox" name="company_type" value="Childcare Center" <%if rs("COMPANY_TYPE")="Childcare Center" then%> checked="true" <%End If%>>
<label for="childcareCenter">Childcare Center</label>
InStr 사용
<%if InStr(rs("COMPANY_TYPE"),"Mover") <> 0 then%>
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다