assalamualaikum wbt
hari ni nak tunjuk bagaimana nak set up connection from database microsoft access to file ASP
1. buka page ASP
2. click window, select database
paparan window - database
3. pegi ke panel database
4. Click button "+", select "custom connection string"
5. masukkan connection name dan connection string
contoh connection string
"Driver={Microsoft Access Driver (*.mdb)};DBQ="& Server.MapPath("/data/db1.mdb")
data = tulis folder simpan database
db1 = tulis nama database
6. connection yang dah lengkap
atau awak boleh click page connection
page connection > page blank (code) > tukar code sediaada kepada kod dibawah
(biasa macam tak jadi sangat cara nie)
selesai buat connection
"SELAMAT BERAMAL"
0 comments:
Post a Comment