Click here to Skip to main content
13,730,915 members

Articles by DizZ (Article: 1, Tip/Trick: 1)

Article: 1, Tip/Trick: 1

RSS Feed

Average article rating: 2.33

Database
Data Access
Posted: 15 Apr 2011   Updated: 15 Apr 2011   Views: 53,722   Rating: 2.33/5    Votes: 2   Popularity: 0.60
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 776
Shorten the amount of code needed to use a SqlDataReader
No blogs have been submitted.

Average tips rating: 0.00

Programming Tips
General
Posted: 14 Apr 2011   Updated: 14 Apr 2011   Views: 9,301   Rating: 0.00/5    Votes:    Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
If you want to be sure that every object is closed, I would use this method: while (true){ Thread.Sleep(2000); using (SqlConnection objConnection = new SqlConnection(@"Integrated Security=SSPI;Persist Security Info=True;Initial Catalog=Northwind;Data Source=.;Max Pool Size=1"))...
No reference articles have been posted.
No projects have been posted.

DizZ
Software Developer
Canada Canada
The first ever language I started with was QuickBasic and soon I switched to Borland C++ 3.0. Then I attended computer science school where I learned Cobol, Access and ASP. Now I use VB6, VB.NET, C#, ASP.NET, PHP languages with MSSQL and MySQL databases.


Advertise | Privacy | Cookies | Terms of Service
Web01-2016 | 2.8.180920.1 | Last Updated 15 Oct 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid