Today, use an ADO DATA control and some Text controls to access the database, as shown in Figure 1:
Figure one main interface
Figure 2 is the setting of the AdodC1 attribute, the user name in the ID card verification is SA, the password is 123, and the command text is SELECT * from Employee (this is a table in the newDB database)
Figure II AdodC1 attribute setting
And set the data source DataSource attribute of the object in the text box, start running, the result is running, the error is not resolved, I haven't solved it yet, I hope that can give a prompt after seeing it, thank you first. !