M
Miro
I am reading a VB.Net 2003 book and it has a Question and Answer section.
Is this statement still "True" with 2005 ?
Q:
I know all about the disconnected database architecture in ADO.NET, but my
database is in frequent use by other users, and I really want to make sure
I'm using the most recent data. Is there really no way to maintain a
continuous connection to a database in Visual Basic .Net ?
A:
Actually, thre is. If you really need a continuous connectino to a
database, you can use traditional ADO ( instead of ADO.NET ) objects. To
work with these objects, you select the Project, Add Reference menu item,
click the COM tab in the Add Reference dialog, and select one of the ADO
libraries. Then you can use ADO objects in your code.
( page 722 - SAMS Teach Yourself Microsoft VIsual Basic.Net 2003 in 21
days )
Miro
Is this statement still "True" with 2005 ?
Q:
I know all about the disconnected database architecture in ADO.NET, but my
database is in frequent use by other users, and I really want to make sure
I'm using the most recent data. Is there really no way to maintain a
continuous connection to a database in Visual Basic .Net ?
A:
Actually, thre is. If you really need a continuous connectino to a
database, you can use traditional ADO ( instead of ADO.NET ) objects. To
work with these objects, you select the Project, Add Reference menu item,
click the COM tab in the Add Reference dialog, and select one of the ADO
libraries. Then you can use ADO objects in your code.
( page 722 - SAMS Teach Yourself Microsoft VIsual Basic.Net 2003 in 21
days )
Miro