🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

info su listbox ecc..

#1880
From: zeal
Date: Fri, 16 Jan 2004 19:05
17 lines
1678 bytes
ciao ragazzi, approfitto della vostra esperienza sperando che qualcuno mi
possa aiutare.
Ho tre problemi e Il linguaggio � VB.NET
1)Ho area_comm che � una list box. Devo creare un ciclo che mi scorre tutta
la list box
e se l'elemento e selezionato mi deve chiamare la funzione inserisci aree
Io ho implementato una bozza ma non so andare avanti. Aiutatemi

For k = 0 To area_comm.Items.Count - 1
                'se l'elemento � stato selezionato
                Call commessa.insersciaree((gridCommesse.Items.Count + 1), k
+ 1)
Next k

2)Mi serve del codice che verifica l'esistenza del db e se non � presente me
lo crea?
3)Come posso caricare i dati in una datagrid che mi ritornano da un database
Technical Details
Message-ID: <1CWNb.129266$_P.4616907@news4.tin.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!news-out.tin.it!news-in.tin.it!news4.tin.it.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII
X-Google-Thread: f94ee,c4057b39f9f40bae,start
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2004-01-16 11:05:35 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!news-out.tin.it!news-in.tin.it!news4.tin.it.POSTED!not-for-mail
From: "zeal" <zamarin@virgilio.it>
Newsgroups: free.it.visual-basic
Subject: info su listbox ecc..
Lines: 19
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: <1CWNb.129266$_P.4616907@news4.tin.it>
Date: Fri, 16 Jan 2004 19:05:33 GMT
NNTP-Posting-Host: 80.182.244.91
X-Complaints-To: newsmaster@tin.it
X-Trace: news4.tin.it 1074279933 80.182.244.91 (Fri, 16 Jan 2004 20:05:33 MET)
NNTP-Posting-Date: Fri, 16 Jan 2004 20:05:33 MET
Organization: TIN