Error Query Database MySQL pada VB.net

Selamat membaca . Software Akuntansi Laporan Keuangan Terbaik Sy punya masalah dgn vb.net. pada saat saya add newborn accumulation maker di schedule data, kemudian saya lakukan pengaturan database nya, effort unification udah berhasil dan accumulation tabel juga udah muncul, pas mau closing nggak selesai udah nunggu beberapa detik muncul error: A unification endeavor unsuccessful because the adjoining band did not right move after a periode instance or ingrained unification unsuccessful because adjoining patron has unsuccessful to respond Padahal service MySQL nya udah jalan, buktinya saya udah bisa update accumulation pake maker code, yang belum bisa ngambil accumulation dari database Untuk ambil accumulation saya pake kode Sub koneksi() If conn.State = ConnectionState.Closed Then Dim computer As String = "localhost" Dim individual As String = "root" Dim transfer As String = "" Dim db As String = "mahasiswa" Dim myString As String = "server=" & computer _ & ";user=" & individual _ & ";password=" & transfer _ & ";database=" & db Try conn.ConnectionString = myString conn.Open() Catch ex As MySqlException MsgBox(ex.Message) End Finally conn.Dispose() End Try End If End Sub Sub tampilTabel() conn.Open() Dim ask As String = "SELECT nama FROM mahasiswa" Dim dsData As DataSet dsData = New DataSet() Dim sqlPenghubung As MySqlDataAdapter sqlPenghubung = New MySqlDataAdapter(query, conn) Dim sqlPerintah As MySqlCommandBuilder sqlPerintah = New MySqlCommandBuilder(sqlPenghubung) sqlPenghubung.Fill(dsData) ' masalahnya ada di sini End Sub Error yg muncul The presented key was not inform in the dictionaryJual Mobil Murah . Ultrabook Notebook Tipis Harga Murah Terbaik . Harga Notebook .
Angga Sanusi
Bookmark and Share

0 komentar:

Posting Komentar