Click here to Skip to main content
15,887,083 members
Home / Discussions / C#
   

C#

 
AnswerRe: Databinding not working...? Pin
Josh Smith27-Apr-06 3:53
Josh Smith27-Apr-06 3:53 
GeneralRe: Databinding not working...? Pin
mikker_12327-Apr-06 5:16
mikker_12327-Apr-06 5:16 
GeneralRe: Databinding not working...? Pin
Josh Smith27-Apr-06 7:09
Josh Smith27-Apr-06 7:09 
GeneralRe: Databinding not working...? Pin
mikker_12327-Apr-06 7:33
mikker_12327-Apr-06 7:33 
QuestionDATA GRID Pin
MilindKumar27-Apr-06 2:20
MilindKumar27-Apr-06 2:20 
AnswerRe: DATA GRID Pin
Josh Smith27-Apr-06 4:25
Josh Smith27-Apr-06 4:25 
QuestionMemoryOutException Pin
agmb27-Apr-06 2:18
agmb27-Apr-06 2:18 
AnswerRe: MemoryOutException Pin
Ed.Poore27-Apr-06 3:39
Ed.Poore27-Apr-06 3:39 
To be honest I'm not suprised you got an OutOfMemoryException if you created 1,800 DataSets, the DataSet is a powerful class and with power comes size.

If your just parsing xml stuff then I'd suggest using an XmlTextReader object since they lighter on memory.

The GC will destroy objects when it has time to and when it knows (Unsure | :~ ) that there is no chance of them being referenced. There is a method which can be called to force a Garbage Collection but can't remember it off the top of my head right now since I've never used it.

All that the IDisposable interface does is make sure that the GC calls the Dispose method so that the class can release unmanaged objects (and perform some proper destroying in a logical order).

I'd have a good think about what's the best way to tackle your problem since creating 1,800 datasets is shall I say a somewhat unique problem.

Hope this helps a bit Smile | :)


You know you're a Land Rover owner when the best route from point A to point B is through the mud.

Ed
AnswerRe: MemoryOutException Pin
V.27-Apr-06 4:13
professionalV.27-Apr-06 4:13 
AnswerRe: MemoryOutException Pin
Guffa27-Apr-06 7:12
Guffa27-Apr-06 7:12 
Questiontwo columns as source for checkedlistbox.DisplayMember ? Pin
livez27-Apr-06 1:29
livez27-Apr-06 1:29 
AnswerRe: two columns as source for checkedlistbox.DisplayMember ? Pin
Ed.Poore27-Apr-06 3:25
Ed.Poore27-Apr-06 3:25 
QuestionControlBox Close Button Pin
paas27-Apr-06 1:01
paas27-Apr-06 1:01 
AnswerRe: ControlBox Close Button Pin
Shajeel27-Apr-06 1:58
Shajeel27-Apr-06 1:58 
GeneralRe: ControlBox Close Button Pin
paas27-Apr-06 4:27
paas27-Apr-06 4:27 
AnswerRe: ControlBox Close Button Pin
Shajeel27-Apr-06 20:47
Shajeel27-Apr-06 20:47 
QuestionComboBox problem after MessageBox displayed Pin
joaoafonso27-Apr-06 0:23
joaoafonso27-Apr-06 0:23 
AnswerRe: ComboBox problem after MessageBox displayed Pin
Ed.Poore27-Apr-06 1:41
Ed.Poore27-Apr-06 1:41 
GeneralRe: ComboBox problem after MessageBox displayed Pin
joaoafonso27-Apr-06 2:00
joaoafonso27-Apr-06 2:00 
GeneralRe: ComboBox problem after MessageBox displayed Pin
Ed.Poore27-Apr-06 3:16
Ed.Poore27-Apr-06 3:16 
GeneralRe: ComboBox problem after MessageBox displayed Pin
joaoafonso27-Apr-06 6:00
joaoafonso27-Apr-06 6:00 
GeneralRe: ComboBox problem after MessageBox displayed Pin
Ed.Poore27-Apr-06 6:02
Ed.Poore27-Apr-06 6:02 
QuestionHow can i use a masked textbox column in a datagridview for date format Pin
Lee ju26-Apr-06 23:57
Lee ju26-Apr-06 23:57 
QuestionEmbedding two forms Pin
praveenqwe26-Apr-06 23:50
praveenqwe26-Apr-06 23:50 
GeneralRe: Embedding two forms Pin
Guffa27-Apr-06 1:13
Guffa27-Apr-06 1:13 

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.