set rs=conn.execute("Select BClassID,BClassName From [BClass]")
response.write "<select name='bclassid' onChange='changelocation(document.frmAnnounce.bclassid.options[document.frmAnnounce.bclassid.selectedIndex].value)' size='1' class='login_input'>"
BClassID=rs(0)
Do while Not rs.eof
dim selected
if Rs(0)=ArticleRs(11) then
selected="Selected"
else
selected=""
end if
response.write "<option value='"&rs(0)&"'
"&selected&">"&rs(1)&"</option>"
rs.MoveNext()
loop
rs.Close()
set rs=Nothing
response.write "</select>