Click here to Skip to main content
15,913,281 members
Home / Discussions / C#
   

C#

 
GeneralRe: binding individual columns of a datgrid to a dataset/datatable Pin
Pualee20-Mar-07 1:14
Pualee20-Mar-07 1:14 
GeneralRe: binding individual columns of a datgrid to a dataset/datatable Pin
joon vh.20-Mar-07 1:59
joon vh.20-Mar-07 1:59 
Questionproblems with memory. Pin
Duong Tien Nam19-Mar-07 23:25
Duong Tien Nam19-Mar-07 23:25 
AnswerRe: problems with memory. Pin
Pualee20-Mar-07 1:22
Pualee20-Mar-07 1:22 
GeneralRe: problems with memory. Pin
J4amieC20-Mar-07 2:02
J4amieC20-Mar-07 2:02 
GeneralRe: problems with memory. Pin
Pualee20-Mar-07 2:23
Pualee20-Mar-07 2:23 
GeneralRe: problems with memory. Pin
J4amieC20-Mar-07 8:29
J4amieC20-Mar-07 8:29 
GeneralRe: problems with memory. Pin
Luc Pattyn21-Mar-07 15:00
sitebuilderLuc Pattyn21-Mar-07 15:00 
I disagree, it is not just good practice.

Calling Dispose on instances of a class that has a Dispose() method is mandatory;
the class may or may not hold unmanaged resources (encapsulation makes that
knowledge irrelevant), and Dispose() would take care of them.

So there are two basic rules:
- if you design a class that holds unmanaged resources, you MUST provide a
Dispose() method
- if a class offers a Dispose() method, you MUST call it when (or as soon as)
you are done with its instance(s).

Hope this helps.




Luc Pattyn

[My Articles]

QuestionHow to Drag and Drop items from a ComboBox to a treeview? Pin
Starzfighter19-Mar-07 23:04
Starzfighter19-Mar-07 23:04 
AnswerRe: How to Drag and Drop items from a ComboBox to a treeview? Pin
joon vh.19-Mar-07 23:22
joon vh.19-Mar-07 23:22 
Questionhi just make it Pin
sooreeagt19-Mar-07 23:00
sooreeagt19-Mar-07 23:00 
AnswerRe: hi just make it Pin
blackjack215019-Mar-07 23:05
blackjack215019-Mar-07 23:05 
GeneralRe: hi just make it Pin
sujithkumarsl19-Mar-07 23:14
sujithkumarsl19-Mar-07 23:14 
AnswerRe: hi just make it Pin
PlayByTheRules19-Mar-07 23:23
PlayByTheRules19-Mar-07 23:23 
AnswerRe: hi just make it Pin
Keshav V. Kamat19-Mar-07 23:41
Keshav V. Kamat19-Mar-07 23:41 
GeneralRe: hi just make it Pin
Ram Krishna Wagle20-Mar-07 1:18
Ram Krishna Wagle20-Mar-07 1:18 
QuestionHelp! Pin
mihksoft19-Mar-07 22:59
mihksoft19-Mar-07 22:59 
AnswerRe: Help! Pin
Mircea Puiu19-Mar-07 23:14
Mircea Puiu19-Mar-07 23:14 
AnswerRe: Help! Pin
sujithkumarsl19-Mar-07 23:16
sujithkumarsl19-Mar-07 23:16 
AnswerRe: Help! Pin
PlayByTheRules19-Mar-07 23:26
PlayByTheRules19-Mar-07 23:26 
AnswerRe: Help! Pin
Keshav V. Kamat19-Mar-07 23:32
Keshav V. Kamat19-Mar-07 23:32 
GeneralRe: Help! Pin
mihksoft19-Mar-07 23:34
mihksoft19-Mar-07 23:34 
GeneralRe: Help! Pin
sujithkumarsl19-Mar-07 23:51
sujithkumarsl19-Mar-07 23:51 
QuestionE-Mail in C#--Authentication at proxy Pin
spotl19-Mar-07 22:54
spotl19-Mar-07 22:54 
AnswerRe: E-Mail in C#--Authentication at proxy Pin
joon vh.20-Mar-07 0:42
joon vh.20-Mar-07 0:42 

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.