🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #2383

inserimento nuova riga

#2383
From: sara
Date: Thu, 12 Jun 2003 13:50
14 lines
1615 bytes
dovrei inserire una nuova riga nella tabella "clienti", se uso questa
sintassi

con.Open strcon
sql = "INSERT INTO clienti " & "(Nome, Cognome) VALUES " & "('sara',
'fanelli');"
con.Execute sql

ottengo l'inserimento del nome e cognome nei rispettivi campi. Il problema �
che devo inserire "sara"  "fanelli" da due textbox  separate (txtnome e
txtcognome) e non direttamente dalla riga di comando. Ho provato a
sostituire "sara" con txtnome.text e " fanelli" con txtcognome.text. il
problema � che non riesco a trovare la sintassi giusta e mi da sempre
errore. Se potete aiutarmi ve ne sarei molto grata.
Technical Details
Message-ID: <Zy%Fa.83439$lK4.2442514@twister1.libero.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news.mailgate.org!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII
X-Google-Thread: f94ee,ba511553be65c972,start
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2003-06-12 06:52:39 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news.mailgate.org!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mail
From: "sara" <sara83@hotmail.com>
Newsgroups: free.it.visual-basic
Subject: inserimento nuova riga
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300
Message-ID: <Zy%Fa.83439$lK4.2442514@twister1.libero.it>
Date: Thu, 12 Jun 2003 13:50:49 GMT
NNTP-Posting-Host: 62.98.201.125
X-Complaints-To: abuse@inwind.it
X-Trace: twister1.libero.it 1055425849 62.98.201.125 (Thu, 12 Jun 2003 15:50:49 MET DST)
NNTP-Posting-Date: Thu, 12 Jun 2003 15:50:49 MET DST
Organization: [Infostrada]