View Single Post
  #1 (permalink)  
Old December 7th, 2009, 08:07 AM
sibytp sibytp is offline
Registered User
 
Join Date: Dec 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sharing a XmlDocument object in other classes

Dear friends,

I am using a xml file for storing 4 tables.

4 classes are used for each tables for CRUD.

methods in these classes are using a local XmlDocument object for accessing xml file for reading and updating.

some times it showing error "file is used by other process"

Is there any design patterns like for managing the access to the xml file

expecting your valuable suggestions

with Regards,
Siby TP