hi gd
I am karthikeyan.
can any one help me how retrive and delete data in vb.net.
I am using access database.
karthikeyan24
0
Newbie Poster
Recommended Answers
Jump to PostHere how to retrieve data:
Private Sub GetData(ID As Integer) Dim con As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\mydatabase.mdb;User Id=admin;Password=;") Dim com As OleDbCommand = Nothing Dim dr As OleDbDataReader = Nothing Try con.Open() com = New OleDbCommand("SELECT * FROM table WHERE id = " & ID, con) dr = …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.