I have a very good simple example on using ADO that I found on the internet by Beacon. But I believe it was for ADO not ADO.net so I am trying to convert it. There is one line that I am having problems with.
rs.Open "tbl_master", cn, adOpenKeyset, adLockPessimistic, adCmdTable
I have converted it to this for ADO.net
rs.Open("Hands", cn, ADODB.CursorTypeEnum.adOpenKeyset, ADODB.LockTypeEnum.adLockPessimistic, adCmdTable)
But I can not find what the command for what adCmdTable should be in .net.
Any help would be great.
thanks
rs.Open "tbl_master", cn, adOpenKeyset, adLockPessimistic, adCmdTable
I have converted it to this for ADO.net
rs.Open("Hands", cn, ADODB.CursorTypeEnum.adOpenKeyset, ADODB.LockTypeEnum.adLockPessimistic, adCmdTable)
But I can not find what the command for what adCmdTable should be in .net.
Any help would be great.
thanks