Article View: alt.pl.comp.lang.csharp
Article #9936Re: Odbc -> DataSet -> SqlClient
From: Robert Winkler
Date: Fri, 11 Nov 2005 10:46
Date: Fri, 11 Nov 2005 10:46
13 lines
1550 bytes
1550 bytes
> Czy zmiana właściwości AcceptChangesDuringFill na False nie jest > wystarczająca? Masz racje, ustawienie w OdbcDataAdapterze pobierającym dane z pliku właściwości AcceptChangesDuringFill na false daje ten sam efekt, czyli pobrane z pliku wiersze mają w DataTable status DataRowState.Added i powinny być przez SqlDataAdaptera potraktowane jako nowe wiersze i wpisane do bazy MSSQL'a za pomocą InsertCommand. -- ____________ Robert Winkler MVP
Technical Details
Message-ID:
<dl1tbv$mqi$1@atlantis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<dkvgo9$1nn$1@inews.gazeta.pl> <dkvkbt$aqa$1@nemesis.news.tpi.pl> <dl0ffu$qah$1@inews.gazeta.pl> <dl1od8$6ke$1@atlantis.news.tpi.pl> <dl1qjb$942$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: "Robert Winkler" <winkel@NOSPAMpoczta.fm> Newsgroups: alt.pl.comp.lang.csharp Subject: Re: Odbc -> DataSet -> SqlClient Date: Fri, 11 Nov 2005 11:46:10 +0100 Organization: tp.internet - http://www.tpi.pl/ Lines: 14 Message-ID: <dl1tbv$mqi$1@atlantis.news.tpi.pl> References: <dkvgo9$1nn$1@inews.gazeta.pl> <dkvkbt$aqa$1@nemesis.news.tpi.pl> <dl0ffu$qah$1@inews.gazeta.pl> <dl1od8$6ke$1@atlantis.news.tpi.pl> <dl1qjb$942$1@inews.gazeta.pl> NNTP-Posting-Host: gw146.internetdsl.tpnet.pl Mime-Version: 1.0 X-Trace: atlantis.news.tpi.pl 1131706559 23378 80.53.74.146 (11 Nov 2005 10:55:59 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Fri, 11 Nov 2005 10:55:59 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit