Click here to Skip to main content
15,902,635 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionColumn Order in a DataGridView with BindingList as DataSource Pin
KoRUPT27-Jan-06 11:28
KoRUPT27-Jan-06 11:28 
AnswerRe: Column Order in a DataGridView with BindingList as DataSource Pin
KoRUPT30-Jan-06 5:42
KoRUPT30-Jan-06 5:42 
Question.net 2.0 vs 1.1? Pin
Small Rat27-Jan-06 11:15
Small Rat27-Jan-06 11:15 
AnswerRe: .net 2.0 vs 1.1? Pin
Dave Kreskowiak27-Jan-06 11:26
mveDave Kreskowiak27-Jan-06 11:26 
GeneralRe: .net 2.0 vs 1.1? Pin
Paul Conrad27-Jan-06 14:35
professionalPaul Conrad27-Jan-06 14:35 
QuestionDatacolumn type Pin
denizmercan27-Jan-06 5:30
denizmercan27-Jan-06 5:30 
Question.NET Pin
Richard Htin27-Jan-06 4:09
Richard Htin27-Jan-06 4:09 
AnswerRe: .NET Pin
Dave Kreskowiak27-Jan-06 4:56
mveDave Kreskowiak27-Jan-06 4:56 
Ummm... What?

Are you asking which is better? Neither! Each individual object has its own requirements for calling .Dispose. Such as all the GDI objects (Graphics, Bitmap, Image, Icon, ...) all require you to call their .Dispose methods when you're done with them. Not doing so will result in OutOfMemory Exceptions sooner or later.

Pretty much, the rule of thumb is if the object requires an underlying system handle or other unmanaged resource, you MUST call .Dispose on that object when you're done with it.



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

Question.Net Framework Pin
Net-Programer-and-developer27-Jan-06 3:13
Net-Programer-and-developer27-Jan-06 3:13 
AnswerRe: .Net Framework Pin
Kevin McFarlane27-Jan-06 3:36
Kevin McFarlane27-Jan-06 3:36 
AnswerRe: .Net Framework Pin
Dave Kreskowiak27-Jan-06 4:52
mveDave Kreskowiak27-Jan-06 4:52 
GeneralRe: .Net Framework Pin
Paul Conrad27-Jan-06 5:23
professionalPaul Conrad27-Jan-06 5:23 
AnswerRe: .Net Framework Pin
Colin Angus Mackay27-Jan-06 5:50
Colin Angus Mackay27-Jan-06 5:50 
AnswerRe: .Net Framework Pin
Ravi Bhavnani27-Jan-06 11:25
professionalRavi Bhavnani27-Jan-06 11:25 
QuestionSending mails with attachments curiosity Pin
Alsvha27-Jan-06 2:14
Alsvha27-Jan-06 2:14 
AnswerRe: Sending mails with attachments curiosity Pin
Dave Kreskowiak27-Jan-06 4:51
mveDave Kreskowiak27-Jan-06 4:51 
GeneralRe: Sending mails with attachments curiosity Pin
Alsvha27-Jan-06 5:04
Alsvha27-Jan-06 5:04 
GeneralRe: Sending mails with attachments curiosity Pin
Dave Kreskowiak27-Jan-06 5:48
mveDave Kreskowiak27-Jan-06 5:48 
GeneralRe: Sending mails with attachments curiosity Pin
Alsvha29-Jan-06 21:54
Alsvha29-Jan-06 21:54 
QuestionString compressing with System.IO.Compression Pin
MrBean27-Jan-06 1:55
MrBean27-Jan-06 1:55 
AnswerRe: String compressing with System.IO.Compression Pin
Dave Kreskowiak27-Jan-06 4:49
mveDave Kreskowiak27-Jan-06 4:49 
GeneralRe: String compressing with System.IO.Compression Pin
MrBean27-Jan-06 5:28
MrBean27-Jan-06 5:28 
GeneralRe: String compressing with System.IO.Compression Pin
Dave Kreskowiak27-Jan-06 6:37
mveDave Kreskowiak27-Jan-06 6:37 
GeneralRe: String compressing with System.IO.Compression Pin
MrBean27-Jan-06 7:06
MrBean27-Jan-06 7:06 
GeneralRe: String compressing with System.IO.Compression Pin
Dave Kreskowiak27-Jan-06 8:22
mveDave Kreskowiak27-Jan-06 8:22 

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.