Click here to Skip to main content
15,886,799 members
Home / Discussions / Database
   

Database

 
GeneralCompare record in Visual Studio 2003.NET Pin
sukasukabo6-Apr-05 0:32
sukasukabo6-Apr-05 0:32 
GeneralInsert Rows into a datatable in ado.net Pin
Madhu.A5-Apr-05 23:30
Madhu.A5-Apr-05 23:30 
GeneralRe: Insert Rows into a datatable in ado.net Pin
Ritesh12346-Apr-05 20:46
Ritesh12346-Apr-05 20:46 
Generalindexing service - problem with read html meta tag Pin
a_r_215-Apr-05 6:19
a_r_215-Apr-05 6:19 
GeneralReporting Services - Custom Rendering Extension Pin
blue-ice4-Apr-05 22:56
blue-ice4-Apr-05 22:56 
GeneralRe: Reporting Services - Custom Rendering Extension Pin
JeyKey5-Apr-05 18:51
JeyKey5-Apr-05 18:51 
QuestionShould i use SqlConnection or SqlDataAdapter Only ? Pin
kakarato4-Apr-05 21:57
kakarato4-Apr-05 21:57 
AnswerRe: Should i use SqlConnection or SqlDataAdapter Only ? Pin
Colin Angus Mackay4-Apr-05 23:49
Colin Angus Mackay4-Apr-05 23:49 
If your connection is closed already - the DataAdapter will open the connection, perform the query, and close the connection again. If you do not need the connection open for anything else then I recommend you let the DataAdapter do the clean up for you.

[ADDITIONAL] I should add that if the connection is already open the DataAdapter will not close it [/ADDITIONAL]

If you are going to perform a series of queries one-after-the-other then I would recommend that you open the connection, perform your queries, then close the connection.

Does this help?


My: Blog | Photos | Next SQL Presentation
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More


GeneralRe: Should i use SqlConnection or SqlDataAdapter Only ? Pin
kakarato5-Apr-05 15:33
kakarato5-Apr-05 15:33 
Questioncan we set foreign key from another database Pin
BSRK4-Apr-05 19:08
BSRK4-Apr-05 19:08 
AnswerRe: can we set foreign key from another database Pin
Nazmul Hassan5-Apr-05 5:02
Nazmul Hassan5-Apr-05 5:02 
GeneralDataAdapter.Fill Pin
Drew Stainton4-Apr-05 18:19
Drew Stainton4-Apr-05 18:19 
GeneralRe: DataAdapter.Fill Pin
Albert Pascual5-Apr-05 5:53
sitebuilderAlbert Pascual5-Apr-05 5:53 
QuestionCan multiple ds's be in a array? Pin
DEWright_CA4-Apr-05 11:52
DEWright_CA4-Apr-05 11:52 
QuestionCan we set foreign key from another database Pin
Anonymous4-Apr-05 2:38
Anonymous4-Apr-05 2:38 
GeneralUrgent Pin
kalikoi4-Apr-05 0:46
kalikoi4-Apr-05 0:46 
GeneralRe: Urgent Pin
WoutL4-Apr-05 0:54
WoutL4-Apr-05 0:54 
Generalconnecting database over internet Pin
Member 4472173-Apr-05 21:02
Member 4472173-Apr-05 21:02 
GeneralRe: connecting database over internet Pin
Colin Angus Mackay3-Apr-05 23:30
Colin Angus Mackay3-Apr-05 23:30 
GeneralMultiple columns Pin
Jaydeanster1-Apr-05 8:00
Jaydeanster1-Apr-05 8:00 
GeneralRe: Multiple columns Pin
Colin Angus Mackay1-Apr-05 8:17
Colin Angus Mackay1-Apr-05 8:17 
GeneralRe: Multiple columns Pin
Jaydeanster1-Apr-05 8:39
Jaydeanster1-Apr-05 8:39 
GeneralRe: Multiple columns Pin
Colin Angus Mackay1-Apr-05 10:06
Colin Angus Mackay1-Apr-05 10:06 
GeneralWriting data to a dataset Pin
Delo1-Apr-05 7:27
Delo1-Apr-05 7:27 
GeneralRe: Writing data to a dataset Pin
numbrel5-Apr-05 11:01
numbrel5-Apr-05 11:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.