Article View: free.it.visual-basic
Article #420Resettare dataset
From: ricotta
Date: Thu, 15 Jun 2006 09:51
Date: Thu, 15 Jun 2006 09:51
14 lines
1402 bytes
1402 bytes
Ciao, Ho una datagrid in binding con un dataset che preleva i dati da mysql tramite l'apposito connector. Va tutto bene, si caricano tutti i dati della tabella prescelta ma vorrei associare ad un pulsante una funzione per cancellare gli eventuali inserimenti nella datagrid, per esempio apro il progetto si carica la datagrid con i dati della tabella, inserisco una nuova riga e poi vorrei far tornare il tutto allo stato iniziale cioοΏ½ come nel database e non come nel dataset. Come posso fare? Devo ricaricare il dataset?
Technical Details
Message-ID:
<44912c80$0$3116$4fafbaef@reader1.news.tin.it>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!feeder.news.tin.it!spool.news.tin.it!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f94ee,2ae8508574d66cec,start X-Google-Attributes: gidf94ee,public X-Google-Language: ITALIAN,ASCII Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!feeder.news.tin.it!spool.news.tin.it!not-for-mail From: "ricotta" <nospam@cx.cx> Newsgroups: free.it.visual-basic Subject: Resettare dataset Date: Thu, 15 Jun 2006 11:51:33 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Lines: 18 Message-ID: <44912c80$0$3116$4fafbaef@reader1.news.tin.it> Organization: TIN.IT (http://www.tin.it) X-Comments: Please send technical notifications to newsmaster@tin.it NNTP-Posting-Host: 87.29.228.51 X-Trace: 1150364801 reader1.news.tin.it 3116 87.29.228.51:1101 X-Complaints-To: Please send abuse reports to abuse@tin.it