RekaRajagopal
0
Newbie Poster
Recommended Answers
Jump to Post
SqlConnection
,SqlCommand
andSqlDataReader
all implementIDisposable
and should be cleaned up in code or wrapped inusing()
statements:/// <summary> /// Concatenates the query string /// </summary> /// <param name="Sql"></param> /// <returns></returns> private static string GetText(List<string> Sql) { StringBuilder …
Jump to PostA better option is to use the EntLib (Enterprise Library) collection.
All 5 Replies
Kitten84
0
Newbie Poster
sknake
1,622
Senior Poster
Featured Poster
grovalmitch
0
Newbie Poster
annaharris
0
Junior Poster in Training
BMXDad
23
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.