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项目的
概述