non riesco a capire che vuole mi dice ECCEZIONE????!!!!! Ma che signiica?
se metto un campo di testo select va bene, ma nel momento in cui metto il secondo mi da quell'errore!codice:<td valign="middle" class="testoadmin"><div align="right"> <select name="car1" id="car1"> <option value="" selected="selected"></option> <% set Rssel = Server.CreateObject("ADODB.recordset") 'recupero i dati delle caratteristiche SqlDescrCar = "SELECT * FROM tbDescrCaratteristiche where IdProdotto =" &idprod Rssel.open SqlDescrCar, conn, 3,3 if not Rssel.eof then Rssel.movefirst sql = "SELECT * FROM tbNomeCaratteristiche" rs.open sql, conn, 3, 3 do while not rs.eof %> <option value="<%=Rs("IdNomeCaratteristica")%>" <% if Rs("IdNomeCaratteristica") = Rssel("IdNomeCaratteristica") then %> selected="selected" <% end if %>><%=Rs("NomeCaratteristica")%></option> <% rs.movenext loop rs.close end if %> </select> </div></td>
:master:

Rispondi quotando