🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

AdoDB.Connection

#305
From: Davide
Date: Thu, 06 Jul 2006 13:38
23 lines
1676 bytes
Salve a Tutti,

Sto cominciando a utilizzare VB2005, ma avendo studiato VB6 mi sono sorti 
alcuni dubbi.

Voglio capire come creare connessioni ai Database senza procedure guidate a 
quant'altro, ma utilizzando solo il codice. Mentre in VB 6 utilizzavo:

Public cnn as new ADODB.Connection
Public rst as new ADODB.recordset

rst.CursorType = adOpenStatic
rst.CursorLocation = adUseClient
rst.Open "Select * From Clienti",cnn


Adesso in VB 2005 non so proprio da dove cominciare.
Se utilizzo la creazione guidata poi non so pi� come gestirmi le query in 
sql.

Potreste darmi una mano???

Grazie 
Technical Details
Message-ID: <44ad1243$0$16926$4fafbaef@reader4.news.tin.it>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!feeder.news-service.com!news.astraweb.com!newsrouter-eu.astraweb.com!feeder.news.tin.it!spool.news.tin.it!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,a79e8bf95a7a5b03,start
X-Google-Attributes: gidf94ee,public
X-Google-Language: ITALIAN,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!feeder.news-service.com!news.astraweb.com!newsrouter-eu.astraweb.com!feeder.news.tin.it!spool.news.tin.it!not-for-mail
From: "Davide" <48edivad@virgilio.it>
Newsgroups: free.it.visual-basic
Subject: AdoDB.Connection
Date: Thu, 6 Jul 2006 15:38:10 +0200
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
Lines: 25
Message-ID: <44ad1243$0$16926$4fafbaef@reader4.news.tin.it>
Organization: TIN.IT (http://www.tin.it)
X-Comments: Please send technical notifications to newsmaster@tin.it
NNTP-Posting-Host: 87.7.168.35
X-Trace: 1152193091 reader4.news.tin.it 16926 87.7.168.35:4312
X-Complaints-To: Please send abuse reports to abuse@tin.it