ciauz
creo più o meno dinamicamente una tabella... ma non mi prende le misure ke le do, anzi! ho provato con e senza px nel valore
troppo stanco adesso x capire il mio errore....codice:<table width="390px"> <tr> <td width="100%"> <form name="mod" action="logsmod.asp" method="post"> <table width="165px"> <tr> <th width="10px">i</th> <th width="20px">data</th> <th width="25px">id</th> <th width="110px">descrizione</th> </tr> <% If Request.QueryString("act") = "modify" Then Set ObjConn = Server.CreateObject("ADODB.Connection") ObjConn.Open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & server.mappath("actlog.mdb") For i = 0 To ubound(s) str = "SELECT * FROM actlog WHERE contatore = " & s(i) Set ObjRS = ObjConn.Execute(str) Response.Write "<tr>" & chr(13) Response.Write "<td><input type=""text"" name=""cont"" class=""text"" value=" & ObjRS("contatore") & " disabled /></td>" & chr(13) Response.Write "<td><input type=""text"" name=""data"" class=""text"" value=" & ObjRS("data") & " /></td>" & chr(13) Response.Write "<td><input type=""text"" name=""id"" class=""text"" value=" & ObjRS("id") & " /></td>" & chr(13) Response.Write "<td><textarea name=""desc"">" & ObjRS("descrizione") & "</textarea></td>" & chr(13) Response.Write "</td></tr>" & chr(13) Next Response.Write "<tr><td colspan=""4"" align=""center""><input type=""submit"" name=""submit"" class=""button"" value=""update"" /><input type=""hidden"" name=""act"" value=""update"" /></td></tr>" & chr(13) ObjConn.Close Set ObjRS = Nothing End If %> </table> </form> </td> </tr> </table>
![]()
![]()