It's not such a difficult to prevent the memory leak. What i now doing is creating a second table where i store the datarow until should delete.
Thank you for your help! tobias > > 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 > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.