🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.comp.lang.csharp
Article #229

Re: UnFill Data Set?

#229
From: Selvin
Date: Thu, 27 Nov 2003 14:20
29 lines
1783 bytes
> Mam takie pytanko...Ale najpierw fragment kodu:
> ---------------------
> daDictionary = new OleDbDataAdapter("select * from " + tabName,
> myConnection);
> OleDbCommandBuilder build = new OleDbCommandBuilder(daDictionary);
> daDictionary.UpdateCommand = build.GetUpdateCommand();
> // wypelnic DataSet
> daDictionary.Fill( myDataSet, tabName);
> -----------------------------
> Oczywiscie Command Builder to tak na wypadek modyfikacji danych na
tabeli...
> Ale pytanka:
> 1. Jak wywalic tabele z DataSet? (myDataSetRemove?)

myDataSet.Tables.Remove()

> 2. Jak zresetowac dane z tabeli pomijajac wszystkie modyfikacje?
myDataSet.Reset()

> 3. Dlaczego do tego DataSet nie mozna zaczytac widoku? mocno by mi to
> uproscilo przetwazanie
tzn a czemu nie mozna (bo nie probowalem) wywala blad czy ... ? no wlasnie
co?


pozdrawiam

Przemek Sulikowski
Technical Details
Message-ID: <bq50rs$bg1$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mail
References: <bq07un$287$1@news.onet.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mail
From: "Selvin" <selvin...@nospam_osadkowski.com.pl>
Newsgroups: alt.pl.comp.lang.csharp
Subject: Re: UnFill Data Set?
Date: Thu, 27 Nov 2003 15:20:03 +0100
Organization: news.onet.pl
Lines: 31
Sender: selvin@poczta.onet.pl@217.97.163.77
Message-ID: <bq50rs$bg1$1@news.onet.pl>
References: <bq07un$287$1@news.onet.pl>
NNTP-Posting-Host: 217.97.163.77
X-Trace: news.onet.pl 1069942460 11777 217.97.163.77 (27 Nov 2003 14:14:20 GMT)
X-Complaints-To: ab...@onet.pl
NNTP-Posting-Date: 27 Nov 2003 14:14:20 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit