Click here to Skip to main content
15,920,005 members
Home / Discussions / C#
   

C#

 
AnswerRe: Convert VB.NET 2005 to C#.NET 2005 Pin
Dave Doknjas15-Mar-06 13:48
Dave Doknjas15-Mar-06 13:48 
AnswerRe: Convert VB.NET 2005 to C#.NET 2005 Pin
angelagke15-Mar-06 15:40
angelagke15-Mar-06 15:40 
QuestionTabControl Pin
Sabry190515-Mar-06 5:15
Sabry190515-Mar-06 5:15 
QuestionGarbage Collection needed? Pin
Glenn E. Lanier II15-Mar-06 4:57
Glenn E. Lanier II15-Mar-06 4:57 
AnswerRe: Garbage Collection needed? Pin
Colin Angus Mackay15-Mar-06 6:02
Colin Angus Mackay15-Mar-06 6:02 
GeneralRe: Garbage Collection needed? Pin
Glenn E. Lanier II15-Mar-06 6:15
Glenn E. Lanier II15-Mar-06 6:15 
AnswerRe: Garbage Collection needed? Pin
Judah Gabriel Himango15-Mar-06 7:06
sponsorJudah Gabriel Himango15-Mar-06 7:06 
GeneralRe: Garbage Collection needed? Pin
Glenn E. Lanier II15-Mar-06 8:39
Glenn E. Lanier II15-Mar-06 8:39 
Judah Himango wrote:
When you're done using the SqlDataReader, call Dispose() on it. This will release some unmanaged resources and may also allow some managed objects to eventually be freed. The same goes for your SqlCommand and your SqlConnection.


I am disposing the OracleDataReader (and OracleCommand and OracleConnection). The only thing

Judah Himango wrote:
Another thing might be your call to db.UpdateTestResults(ref testResult). If you're storing your testResult somewhere, it won't be freed, obviously.


db.UpdateTestResults(ref testResult) simply builds the SQL (either insert or update), connects to the database, performs an ExecuteNonQuery, cleans up and returns.

Thanks for the links -- I'll check them out.

--G
GeneralRe: Garbage Collection needed? Pin
Judah Gabriel Himango15-Mar-06 9:00
sponsorJudah Gabriel Himango15-Mar-06 9:00 
GeneralRe: Garbage Collection needed? Pin
Glenn E. Lanier II15-Mar-06 8:44
Glenn E. Lanier II15-Mar-06 8:44 
QuestionHow to print a C# form Pin
JuJAngel15-Mar-06 3:56
JuJAngel15-Mar-06 3:56 
AnswerRe: How to print a C# form Pin
Ed.Poore15-Mar-06 6:47
Ed.Poore15-Mar-06 6:47 
GeneralRe: How to print a C# form Pin
JuJAngel18-Mar-06 9:36
JuJAngel18-Mar-06 9:36 
GeneralRe: How to print a C# form Pin
Ed.Poore18-Mar-06 10:45
Ed.Poore18-Mar-06 10:45 
Questionhow to do "123=6 23567=23"??? Pin
gursucan15-Mar-06 3:56
gursucan15-Mar-06 3:56 
AnswerRe: how to do "123=6 23567=23"??? Pin
Guffa15-Mar-06 4:03
Guffa15-Mar-06 4:03 
AnswerRe: how to do "123=6 23567=23"??? Pin
Lju215-Mar-06 9:07
Lju215-Mar-06 9:07 
AnswerRe: how to do "123=6 23567=23"??? Pin
Luis Alonso Ramos15-Mar-06 18:49
Luis Alonso Ramos15-Mar-06 18:49 
QuestionHow to do syntax hightlighting? Pin
SirErugor15-Mar-06 3:26
SirErugor15-Mar-06 3:26 
AnswerRe: How to do syntax hightlighting? Pin
Ed.Poore15-Mar-06 5:41
Ed.Poore15-Mar-06 5:41 
GeneralRe: How to do syntax hightlighting? Pin
SirErugor15-Mar-06 5:48
SirErugor15-Mar-06 5:48 
GeneralRe: How to do syntax hightlighting? Pin
Colin Angus Mackay15-Mar-06 6:06
Colin Angus Mackay15-Mar-06 6:06 
GeneralRe: How to do syntax hightlighting? Pin
Ed.Poore15-Mar-06 6:26
Ed.Poore15-Mar-06 6:26 
QuestionADOX Pin
JMichael246815-Mar-06 3:01
JMichael246815-Mar-06 3:01 
AnswerRe: ADOX Pin
Ed.Poore15-Mar-06 6:36
Ed.Poore15-Mar-06 6:36 

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.