Oledb Coding

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Oledb Coding as PDF for free.

More details

  • Words: 56
  • Pages: 1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim strConnection As String = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & "D:\Database.mdb" Dim cnOleDb As New OleDbConnection(strConnection) cnOleDb.Open() Dim dsResults As New DataSet Dim strSQL As String = "SELECT * FROM ADMISSION" Dim dtAdapter As New OleDbDataAdapter(strSQL, cnOleDb) dtAdapter.Fill(dsResults) DataGrid1.DataSource = dsResults cnOleDb.Close() End Sub

Related Documents

Oledb Coding
November 2019 17
Oledb Connection
May 2020 3
Coding
December 2019 22
Coding
July 2020 13
Coding
November 2019 26
Coding
April 2020 13