?? 2.asp
字號:
<title>選擇大類</title>
<!--#include file="../include/conn.asp"-->
<%
set rs=conn.execute("select * from tb_MedicineType")
if rs.eof then
response.write "還沒有大類"
else
%>
<form action="salegoods.asp" method="post" target="main" name="form1">
<table border=0 cellpadding=4 cellspacing=1 bgcolor=#999999 width='380'>
<%do while not rs.eof%>
<tr><td bgcolor="#ffffff"><input type="radio" value="<%=rs("TypeId")%>" name="TypeId"><%=rs("TypeName")%></td></tr>
<%
rs.movenext
loop
%>
<tr>
<td bgcolor=#ffffff>
<input type="button" onclick="tijiao()" value="確定">
<input type="button" name="b2" value="關閉" onClick="window.close();">
</td>
</tr>
</table>
</form>
<%
end if
%>
<script language="javascript">
function tijiao(){
document.form1.submit();
window.close();
}
</script>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -