| 
          İnsert İnto deyiminde hata alıyorum sorunu ne aceba......
           | Gönderen: 11-Nisan-2009 Saat 16:42 | Kayıtlı IP |   |  
           | 
 |  html  ve asp kısımları  bunlar
 HTML
 
 <html><body>
 <form name="form" method="post" action="soruekle.asp">
 <table width="589" height="130" border="0" cellpadding="0" cellspacing="0">
 <tr>
 <td colspan="2" valign="top"><p align="left">Soruyu YAZIN
 <input name="soru" type="text" value="" size="80">
 </p>
 </td>
 </tr>
 <tr>
 
       <td width="201" valign="top"><div align="left">A-)<input type="text" name="a" />
 </div></td>
 <td width="388" valign="top"><div align="left">B-)
 <input type="text" name="b" />
 <br />
 </div></td>
 </tr>
 <tr>
 <td valign="top"><div align="left">C-)
 <input type="text" name="c" />
 
       </div></td><td valign="top"><div align="left">D-)
 <input type="text" name="d" />
 <br />
 </div></td>
 </tr>
 <tr>
 <td colspan="2">
 <div align="left">
 
           <input name="submit" type="submit" value="Gönder" /><input name="Reset" type="reset" value="Temizle">
 </div></td></tr>
 </table>
 <p> </p>
 <p><br />
 </p>
 <p> </p>
 </form></body></html>
 
 ASP
 
 <%
 soru=request.Form("soru")
 a=request.Form("a")
 b=request.Form("b")
 c=request.Form("c")
 d=request.Form("d")
 set con=server.CreateObject("adodb.connection")
 con.open "provider=microsoft.jet.oledb.4.0;data source=C:\Inetpub\wwwroot\soru\veritabani.mdb"
 sqlkod="insert into tablo (SORUT,AT,BT,CT,DT) values  ('"&soru&"','"&a&"','"&b&"','"&c &"','"&d&"')"
 con.execute sqlkod
 response.Write("Kayit Tamamlandi")
 %>
 
 Şimdiden Tşkler
  |