Hi,
I want to fill a datagridview with the data in one array, something like this:
Public Class User2
Public Sub SetTables()
Try
Dim tables As String() = {"Customers", "Items", "Transactions", "Users"}
DataGridView1.DataSource = tables
Catch ex As Exception
End Try
End Sub
Private Sub User2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Call SetTables()
End Sub
End Class
But this doesn’t work. One day I was searching somewhere and I found a lot of documentations about this but know that I need it I can’t find any.
Any help with code samples please.
Enter your message below
Sign in or Join us (it's free).