EmersonH.Com

Transforming Knowledge into Power

  • Increase font size
  • Default font size
  • Decrease font size
Home VB.Net 2008 DataGridView Using DataGridView

Using DataGridView

E-mail Print
Public Class Form1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'
' Fill in the data grid on form load.
'

DataGridView1.DataSource = GetDataTable()
End Sub

Private Function GetDataTable() As DataTable
'
' This Function needs to build the data table.
'

Return New DataTable()
End Function
End Class
Last Updated on Monday, 21 December 2009 17:41