Display / Show Data from MS Access 2003 in ListBox (DataBase) VS.NET 2008 Code

1
13



Display / Show Data from MS Access 2003 in ListBox (DataBase) VS.NET 2008 Code

access 2003 download, Display, Show, Data, from, MS, Access, 2003, in, ListBox,(DataBase), SQL, VS.NET, 2008, Code, VB, programs, Microsoft, Visual, Studio,.net

Tải thêm các ứng dụng khác: https://gocthugian.com.vn/category/download

1 COMMENT

  1. thanks bro. it works.
    Here is the Source code:
        Dim da As OleDbDataAdapter = New OleDbDataAdapter("SELECT * FROM 8085", "Provider = Microsoft.Jet.OLEDB.4.0;" & "Data Source =Database1.mdb")
                Dim ds As DataSet = New DataSet
                da.Fill(ds, "8085")
                Form1.ListBox1.DataSource = ds.Tables("8085").DefaultView
                Form1.ListBox1.SelectedIndex = 0
                Form1.ListBox1.DisplayMember = "ID"

LEAVE A REPLY

Please enter your comment!
Please enter your name here