Aşağıda yazdığım kodları incelersen mantığı kavrarsın.
'DB BAĞLANTISI
ad = request.form("ad")
soyad = request.form("soyad")
urunid = request.querystring("urunid")
set urunbilgileri = conn.execute("select * from tbl_urunler where id='"&urunid&"'")
set kaydet = server.createobject("adodb.recordset")
sql="select * from siparisler"
kaydet.open sql,conn,1,3
kaydet.addnew
kaydet("ad") = ad
kaydet("soyad") = soyad
kaydet("urunadi") = urunbilgileri("urunadi")
kaydet("urunfiyati") = urunbilgileri("fiyat")
kaydet.update
kaydet.close
set kaydet = nothing
urunbilgileri.close
set urunbilgileri = nothing
conn.close
set conn = nothingİyi Çalışmalar
Birol TÜRK