title: Synchronize datatable/dataview for read write
body: <p>I have application in .net 2.0 in which I have a DataTable object globally in my application and have different dataviews in whole application.</p>
  
  <p>When an action performed i have create many threads lets say 5 in which data is read from different dataview, meanwhile while 2/3 threads are reading data(not all 2 more left to read data) a thread write data in datatable. So we get exceptions like "Enumeration update" or "parameter not null" type.</p>
  
  <p>I have use ReadWriteLock for this but do not find any luck it gets stop on ReaderWriterLock.AcquireWriterLock().</p>
  
  <p>I do not understand where i am doing wrong.</p>
  
  <p>If anyone have any idea. Please help me how to implement ReaderWriterLock for this scenario for datatable and dataview.</p>
  
  <p>Thanks!!</p>