Don't think there is anyway to prohit another programmer from changing the data in a 
datatable. 

-----Original Message-----
From: Greg Gates [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 2:27 PM
To: [EMAIL PROTECTED]
Subject: [DOTNET] Read only behaviour for a DataTable


Hello everyone:

In "classic" ADO, the ADO recordset had a clone method to which you could
pass a lock type. One of the lock types was adLockReadOnly. Thus it was
possible to return a reference to an existing ADO recordset and have read
only behaviour.

What is the best way to allow a client to obtain a reference to an existing
ADO.NET data table and also have read only behaviour?.

thanks, Greg

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to