0
我試圖在DataGridView中以最簡單的形式顯示Access數據庫表。但是,當我啓動應用程序時,我看不到任何表格數據。見下文。VB.NET/Access DataGridView不顯示錶格內容
我很樂意隨時更新所需的任何附加信息。
VB:
Option Explicit On
Option Strict On
Option Infer Off
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the 'MOKANDataSet.SalaryHistory' table. You can move, or remove it, as needed.
Me.SalaryHistoryTableAdapter.Fill(Me.MOKANDataSet.SalaryHistory)
End Sub
Private Sub btnExit_Click(sender As Object, e As EventArgs) Handles btnExit.Click
Me.Close()
End Sub
End Class
這裏是應用程序運行時。在Visual Studio項目的
概述