I now use VB to write a C / S structure program. I wrote the program into the module, but how to read something in the database in the program? The join code is as follows:
Public Con As New Connect ....
Sub main () Dim str As String connact = server.CreateObject ( "adodb.connection") connact.ConnectionString = "provider = sqloledb.1; data source = huacai12;. Initial catalog = test; user id = sa; password = sa Database = Database name "'This is the connection method of SQL
Con. open frmlogin.shownd sublogin.shownd Sub
I have to use a text box to implement query database functions. Is it using a similar statement to perform this feature.