.


:




:

































 

 

 

 





R 1

Access

1. MS Access Database.mdb.

2. , :

Key1. . . . ( ).

. . 50. ( ).

. . 50. ( ).

. . 10. ( ).

e-mail. . 20. ( ).

. . . .

3. Key .

 

, MS Access. ADO.

1. . ADOConnection ADO .

2. , ConnectionString. ConnectionString .

3. :

4. Use Connection String ( ). Build. :

5. (Provider) ADO . MS Access Microsoft Jet 4.0 OLE DB Provider. MS Office, Windows . (Next) (Connection).

6. (Select or enter a database name), ( ). , , .

: () . , , .

7. :

(User name). , MS Access.

(Password). , .

(Blank Password). , .

(Allow saving password). , . , .

8. , (Test Connection), . , (Test connection succeeded). , , . , .

9. . ADOConnection LoginPrompt, false. , . Connected true, . .

10. . ADOTable ADO . Name BookTable.

11. ConnectionString, . , , ADOConnection. BookTable Connection, . Connection ADOConnection1. ConnectionString.

12. TableName (). , , . Active true.

13. DataSource DataAccess . , . DataSet BookTable, .

14. . DBGrid ( Data Controls). , . , .

 

15. . DataSourse DBGrid DataSource1.

16. , , -. Ins, Ctrl+Del.

 





:


: 2017-01-28; !; : 513 |


:

:

,
==> ...

1523 - | 1393 -


© 2015-2024 lektsii.org - -

: 0.008 .