111

boil down: reduce
chestnut: 老话....
chances are: probably
阅读更多
换一批

help!!!!!!!!!!111

05-26

<%@ Language ="Jscript"%>rnrnrn<% rnvar conn = Server.CreateObject("Adodb.Connection");rnvar connStr = "driver=SQL Server;SERVER=wei;UID=sa;PWD=065191;DATABASE=jr" rnvar nameAry = new Array();rnvar priceAry = new Array();rnconn.open (connStr,"sa","065191");rnvar oprHTML =_getSelectHTML();rnvar oprHTML2 =_getSelectHTML2();rnfunction _getSelectHTML()rnrn var res =""rn var rs = getRsBySql("select * from bjinfo");rn var curid = parseInt(Request("bujian").Item);rn while (!rs.EOF)rn rn var SlectedStr="";rn if (curid == rs("id").Value) SlectedStr = " selected";rn res += "" + rs("bujianming").value +"";rn nameAry[nameAry.length]= new Array(rs("id").Value,rs("bujianming").Value);rn priceAry[priceAry.length] =new Array(rs("id").Value,rs("price").Value);rn rs.MoveNext();rn rn rs.Close();rn rs = null;rn return res;rn rnrnfunction _getSelectHTML2()rnrn var res =""rn var rs = getRsBySql("select * from dls");rn var curid = parseInt(Request("dls").Item);rn while (!rs.EOF)rn rn var SlectedStr="";rn if (curid == rs("dls_id").Value) SlectedStr = " selected";rn res += "" + rs("dls_mc").value +"";rn nameAry[nameAry.length]= new Array(rs("dls_id").Value,rs("dls_mc").Value);rn rn rs.MoveNext();rn rn rs.Close();rn rs = null;rn return res;rn rnrnrnrnrnrnrn%>rnrn rn rn rnrn ">rn rn rn  rn rn 部件序号列表 rn rn  rn rn rn rn rn  rn rn rn rn 部件:rn 请选择部件rn <%=oprHTML%> rn 型号:rn 没有选择rn rn rn rn rn rn rn rn rn rn                 rn rn rn rn rn rn rn  rn rn rn  rn rn rn  rn rn rn  rn rn rn  rn rn rn  rn rn rn  rn rn rn rn  rn rn rn rnrn rn rn rn rn rn rn rnrnrn

没有更多推荐了,返回首页