Murat TATAR God saves lost souls , I save lost passwords

14Nis/110

RecordSet.Delete Kayıt Silme

RecordSet.Delete
<% Set VT= Server.CreateObject("ADODB.Connection" ) VT.Open "DBQ=" & Server.MapPath(" uyeler.mdb" ) & ";DRIVER={Microsoft Access Driver (*.mdb)}" Set KS = Server.CreateObject ("ADODB.RecordSet" ) Sql = " Select * from table1 where uyeNo = 1" KS.Open sql,VT,1,3 %>

<% KS.Delete %>

<% KS.close set KS=nothing VT.close set VT=nothing %>

Bu Örnekte uyeNo =1 Olan kayıt Silinecektir. Eger 1 nolu kayıt yoksa asp kodumuz hata verecektir.

   
Copy Protected by Chetan's WP-Copyprotect.