Article View: alt.pl.comp.lang.csharp
Article #21069Re: windows forms i bazy danych
From: yamma
Date: Tue, 06 Oct 2009 11:10
Date: Tue, 06 Oct 2009 11:10
18 lines
2022 bytes
2022 bytes
wloochacz wrote: > 3P pisze: >> Ponieważ zalecaną metodą pracy jest tworzenie połączenia na czas >> zapytania i zamykanie po jego wykonaniu > Bzdura. > Kto to zaleca w WindowsForms? > Gdzie to jest napisane? > Pokaż proszę. http://msdn.microsoft.com/en-us/library/8xx3tyca.aspx "We strongly recommend that you always close the connection when you are finished using it so that the connection will be returned to the pool. You can do this using either the Close or Dispose methods of the Connection object, or by opening all connections inside a using statement in C#, or a Using statement in Visual Basic. Connections that are not explicitly closed might not be added or returned to the pool." yamma
Technical Details
Message-ID:
<haf8ir$m5o$1@inews.gazeta.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailReferences:
<3489e71f-a9c5-4e6a-9c8e-4277001d27bc@m11g2000yqf.googlegroups.com> <ha3ac0$hgl$2@nemesis.news.neostrada.pl> <ha4i1f$4d9$1@nemesis.news.neostrada.pl> <ha4p6t$3nu$1@news.wp.pl> <ha4rg5$emt$2@atlantis.news.neostrada.pl> <ha4s9n$5b4$1@news.wp.pl> <ha51bp$qgu$2@nemesis.news.neostrada.pl> <op.u06mdg0fmsp0fz@mcs> <hacism$53m$1@nemesis.news.neostrada.pl> <op.u1b911l6msp0fz@mcs> <haf3b7$bqo$1@atlantis.news.neostrada.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: "yamma" <yamma@wp.pl> Newsgroups: alt.pl.comp.lang.csharp Subject: Re: windows forms i bazy danych Date: Tue, 6 Oct 2009 13:10:04 +0200 Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 19 Message-ID: <haf8ir$m5o$1@inews.gazeta.pl> References: <3489e71f-a9c5-4e6a-9c8e-4277001d27bc@m11g2000yqf.googlegroups.com> <ha3ac0$hgl$2@nemesis.news.neostrada.pl> <ha4i1f$4d9$1@nemesis.news.neostrada.pl> <ha4p6t$3nu$1@news.wp.pl> <ha4rg5$emt$2@atlantis.news.neostrada.pl> <ha4s9n$5b4$1@news.wp.pl> <ha51bp$qgu$2@nemesis.news.neostrada.pl> <op.u06mdg0fmsp0fz@mcs> <hacism$53m$1@nemesis.news.neostrada.pl> <op.u1b911l6msp0fz@mcs> <haf3b7$bqo$1@atlantis.news.neostrada.pl> NNTP-Posting-Host: chello089075144202.chello.pl Mime-Version: 1.0 X-Trace: inews.gazeta.pl 1254827419 22712 89.75.144.202 (6 Oct 2009 11:10:19 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Tue, 6 Oct 2009 11:10:19 +0000 (UTC) In-Reply-To: <haf3b7$bqo$1@atlantis.news.neostrada.pl> X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18005 X-Priority: 3 X-Newsreader: Microsoft Windows Mail 6.0.6002.18005 X-User: yamma X-MSMail-Priority: Normal Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit