日期:2014-05-17 浏览次数:20927 次
<td class="style2">
<asp:DropDownList ID="DDL1" runat="server">
</asp:DropDownList>
</td>
<th style="width:20px;text-align:center ;border-left:none;">与</th>
<td class="style2">
<select id="Select1" name="D1">
<option></option>
</select></td>
<td>
var objdbConn = new ActiveXObject("ADODB.Connection");
var strdsn = "Driver={SQL Server};server=192.168.0.185;UID=sde;PWD=sde;DATABASE=orcl_192.168.0.185;"
objdbConn.Open(strdsn);
var road1 = document.getElementById("DDL1").Value;
var objrs = objdbConn.Execute("select 道路名称_1 from roadnode t where t.道路名称='" + road1 + "'");
var count = objrs.Fields.Count - 1;
function addlist() {
var }