Click here to Skip to main content
15,890,436 members
Home / Discussions / Database
   

Database

 
GeneralRe: Data binding to Datagrid Pin
Anonymous16-Sep-05 5:02
Anonymous16-Sep-05 5:02 
GeneralRe: Data binding to Datagrid Pin
enjoycrack18-Sep-05 20:01
enjoycrack18-Sep-05 20:01 
Questiondataset schema question Pin
Anonymous6-Sep-05 14:16
Anonymous6-Sep-05 14:16 
QuestionHow slow is sql server IMAGE datatype compared to... Pin
raindog6-Sep-05 11:53
raindog6-Sep-05 11:53 
QuestionTo Colin Angus Mackay About User ... Pin
mostafa_h6-Sep-05 6:48
mostafa_h6-Sep-05 6:48 
AnswerRe: To Colin Angus Mackay About User ... Pin
Christian Graus6-Sep-05 11:47
protectorChristian Graus6-Sep-05 11:47 
Questionmemory leak - a basic misunderstanding Pin
IlanTal6-Sep-05 3:35
IlanTal6-Sep-05 3:35 
AnswerRe: memory leak - a basic misunderstanding Pin
S. Senthil Kumar6-Sep-05 7:44
S. Senthil Kumar6-Sep-05 7:44 
You need to look up on Garbage Collection in .NET. Basically, there is an entity called the Garbage Collector (GC) that runs in a background thread. It does the cleanup for you, when it determines that a cleanup needs to be done. In your case, when the GC decides to run, if it sees that there are no live references to OleDbConnection and OleDbCommand objects, it will reclaim the memory.

In other words, you can't explicitly delete, as in C++, the GC will (attempt) do it when it decides to. The Close method is to release resources held up by the object, OleDbConnection has Close because it wraps a database connection, but OleDbCommand is just an abstraction for a SQL command, so that's why it doesn't have Close. Calling Close has nothing to do with GC, though.

Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
GeneralRe: memory leak - a basic misunderstanding Pin
Christian Graus6-Sep-05 11:48
protectorChristian Graus6-Sep-05 11:48 
QuestionHowTo: Get Column Detault Value in ADO.NET Pin
wolver-hampton-wanderer6-Sep-05 2:49
wolver-hampton-wanderer6-Sep-05 2:49 
AnswerRe: HowTo: Get Column Detault Value in ADO.NET Pin
miah alom6-Sep-05 9:20
miah alom6-Sep-05 9:20 
GeneralRe: HowTo: Get Column Detault Value in ADO.NET Pin
wolver-hampton-wanderer7-Sep-05 13:53
wolver-hampton-wanderer7-Sep-05 13:53 
Questionrestore an in used SQL Database Pin
i-p-g-i5-Sep-05 22:41
i-p-g-i5-Sep-05 22:41 
AnswerRe: restore an in used SQL Database Pin
Frank Kerrigan5-Sep-05 22:57
Frank Kerrigan5-Sep-05 22:57 
AnswerRe: restore an in used SQL Database Pin
miah alom6-Sep-05 9:26
miah alom6-Sep-05 9:26 
Questiondatagrid titel ... Pin
Anonymous5-Sep-05 21:14
Anonymous5-Sep-05 21:14 
AnswerRe: datagrid titel ... Pin
Frank Kerrigan5-Sep-05 22:54
Frank Kerrigan5-Sep-05 22:54 
AnswerRe: datagrid titel ... Pin
miah alom6-Sep-05 8:19
miah alom6-Sep-05 8:19 
Questionw can User observe his private information Pin
mostafa_h5-Sep-05 10:22
mostafa_h5-Sep-05 10:22 
AnswerRe: w can User observe his private information Pin
Colin Angus Mackay5-Sep-05 20:53
Colin Angus Mackay5-Sep-05 20:53 
GeneralRe:I want to know how a user can observe Pin
mostafa_h6-Sep-05 1:57
mostafa_h6-Sep-05 1:57 
GeneralRe:I want to know how a user can observe Pin
Christian Graus6-Sep-05 11:51
protectorChristian Graus6-Sep-05 11:51 
QuestionConnection Via DSN in VB.Net Pin
MODI_RAHUL5-Sep-05 3:20
MODI_RAHUL5-Sep-05 3:20 
AnswerRe: Connection Via DSN in VB.Net Pin
Andy Brummer5-Sep-05 4:05
sitebuilderAndy Brummer5-Sep-05 4:05 
GeneralRe: Connection Via DSN in VB.Net Pin
miah alom6-Sep-05 9:44
miah alom6-Sep-05 9:44 

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.