VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



database connections

by A.phani chakravarthy (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 26th July 2006
Date Added: Mon 8th February 2021
Rating: (1 Votes)

database connections

API Declarations


dim con as new adodb.connection
dim rs as new adodb.recordset


Rate database connections



set con=new adodb.connection
con.connectinString="Provider=microsoftjet3.4,path=c:\empdatabase...,"
con.open
set rs=new adodb.recordset
rs.open"select * from emp",con,adopendynamic,adlockpessimistic
text1.text=rs.fields(0)
text2.text=rs.fields(1)

Download this snippet    Add to My Saved Code

database connections Comments

No comments have been posted about database connections. Why not be the first to post a comment about database connections.

Post your comment

Subject:
Message:
0/1000 characters