If memory's that important, maybe you shouldn't be using the DataTable at all. It's a pretty heavy data structure. I'm also not sure why you want to create a new row without attaching it - do you just want to use the schema? Maybe if you explained a little more about what you are trying to do, we could find another way.
Jim > -----Original Message----- > From: MSTSE Developer [mailto:[EMAIL PROTECTED]] > Sent: 26 April 2002 12:35 > To: [EMAIL PROTECTED] > Subject: [DOTNET] AW: Re: [DOTNET] AW: Re: [DOTNET] memory leak when > creating data row > > > ILDASM seems to be the most important tool to get information on how > things work. One of our apprentice has used this tool even several > times. > > But one question is remaining: why do the DataTable update > the index at > that time and not when the DataRow is added into the table? our > application is an windows service and more important than the speed is > the memory usage. > > The result is that i'm not allowed to create a DataRow when it is not > garanteed that this row become later a member of the table! > > tobias You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.