Re: [DOTNET] Read only behaviour for a DataTable

2002-06-11 Thread Mark Boulter
only behaviour for a DataTable The point being that the DataSet is *always* disconnected. An ADO recordset is, by default, attached to the database, so the notion of read-only was rather more important. With a DataSet any changes that happen to be made will not actually have any long term ef

Re: [DOTNET] Read only behaviour for a DataTable

2002-06-11 Thread Ian Griffiths
The point being that the DataSet is *always* disconnected. An ADO recordset is, by default, attached to the database, so the notion of read-only was rather more important. With a DataSet any changes that happen to be made will not actually have any long term effect unless something explicitly pu

Re: [DOTNET] Read only behaviour for a DataTable

2002-06-10 Thread franklin gray
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

[DOTNET] Read only behaviour for a DataTable

2002-06-10 Thread Greg Gates
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 ob