Data Access mode in ADO.NET

Author Topic
Juan J. Blanco
Member

Joined: 09 Apr 2003
Country:
Posts: 1

Posted: 09 Apr 2003 13:55:27

Hi, I am trying to do what I believe is a very simple thing: to open a connection to a database in exclusive mode (that is, to implement pesimistic concurrency, I don´t want anybody else doing updates while I do mine).

Well, in the connectionString I use in the OleDbConnection object (I am connecting to an Access D I try to set the mode to ReadWrite|Share Deny Write, or many other variations, but I can´t seem to make it work, there are undocumented errors when I try to open the connection.

Does anyone have any experience with using the access mode when opening connections in ADO.NET?

Thanks in advance!

Hi, I am trying to do what I believe is a very simple thing: to open a connection to a database in exclusive mode (that is, to implement pesimistic concurrency, I don´t want anybody else doing updates while I do mine).

Well, in the connectionString I use in the OleDbConnection object (I am connecting to an Access D I try to set the mode to ReadWrite|Share Deny Write, or many other variations, but I can´t seem to make it work, there are undocumented errors when I try to open the connection.

Does anyone have any experience with using the access mode when opening connections in ADO.NET?

Thanks in advance!
trien dao
Member

Joined: 10 Aug 2006
Country: USA
Posts: 2

Posted: 10 Aug 2006 16:39:29

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hi, I am trying to do what I believe is a very simple thing: to open a connection to a database in exclusive mode (that is, to implement pesimistic concurrency, I don´t want anybody else doing updates while I do mine).

Well, in the connectionString I use in the OleDbConnection object (I am connecting to an Access D I try to set the mode to ReadWrite|Share Deny Write, or many other variations, but I can´t seem to make it work, there are undocumented errors when I try to open the connection.

Does anyone have any experience with using the access mode when opening connections in ADO.NET?

Thanks in advance!
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hi, I am trying to do what I believe is a very simple thing: to open a connection to a database in exclusive mode (that is, to implement pesimistic concurrency, I don´t want anybody else doing updates while I do mine).

Well, in the connectionString I use in the OleDbConnection object (I am connecting to an Access D I try to set the mode to ReadWrite|Share Deny Write, or many other variations, but I can´t seem to make it work, there are undocumented errors when I try to open the connection.

Does anyone have any experience with using the access mode when opening connections in ADO.NET?

Thanks in advance!
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
trien dao
Member

Joined: 10 Aug 2006
Country: USA
Posts: 2

Posted: 10 Aug 2006 16:42:05

I have the same problem. Do you have an answer yet? I would like to hear from you. My email is Thank you so much
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hi, I am trying to do what I believe is a very simple thing: to open a connection to a database in exclusive mode (that is, to implement pesimistic concurrency, I don´t want anybody else doing updates while I do mine).

Well, in the connectionString I use in the OleDbConnection object (I am connecting to an Access D I try to set the mode to ReadWrite|Share Deny Write, or many other variations, but I can´t seem to make it work, there are undocumented errors when I try to open the connection.

Does anyone have any experience with using the access mode when opening connections in ADO.NET?

Thanks in advance!
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

I have the same problem. Do you have an answer yet? I would like to hear from you. My email is Thank you so much
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hi, I am trying to do what I believe is a very simple thing: to open a connection to a database in exclusive mode (that is, to implement pesimistic concurrency, I don´t want anybody else doing updates while I do mine).

Well, in the connectionString I use in the OleDbConnection object (I am connecting to an Access D I try to set the mode to ReadWrite|Share Deny Write, or many other variations, but I can´t seem to make it work, there are undocumented errors when I try to open the connection.

Does anyone have any experience with using the access mode when opening connections in ADO.NET?

Thanks in advance!
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Follow us on twitter Subscribe to our RSS feed
Activate your free membership today | Login | Currency