|
- Public Class Form1
- Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
- Dim login = Me.LogMasukTableAdapter1.LogMasukString(txtNama.Text, txtKatalaluan.Text)
- If login Is Nothing Then
- MsgBox("Katalaluan Salah")
- Else
- MsgBox("Katalauan Betul, Selamat Menggunakan Sistem")
- End If
- End Sub
- End Class
Copy the Code |
|
|
|
|
|
|
|
Reply 1# Fuad31
Perlu pertolongan masalah error ini |
|
|
|
|
|
|
|
Post Last Edit by alam. at 10-1-2012 11:00
Fuad31 Post at 9-1-2012 16:54
a) olebd jet 4.0 nih old driver.. compatible dgn xp dan win7 x86 sahaja...
ada 3 cara yg dicadangkan ikot mudah...
1)rebuild dlm run mode X86...
- klik "Project" > "{Application} Properties"
- klik "Compile"... pastuh scrolldown bawah sekali... ada button "Advance Compile Options..." klik
- tgk kt "Target CPU" tukar kepada X86... by default dia akan ikot PC ko punya bit...
- rebuild setle
2)Guna latest driver "Microsoft ACE.oledb.12".. nk check.. dekat datasource ODBC>administrative tools
kalo Win XP.. win7 kene google :-D(kalo xde donwload)
3) Install Microsoft Access 2003 or 2007(pastuh kt custom installation tick jet oledb) |
|
|
|
|
|
|
|
Reply 4# alam.
owh2 Terima Kasih, saya cuba dulu |
|
|
|
|
|
|
| |
|