Guest
Private paste!

Untitled

By: a guest | Apr 28th, 2010 | Syntax: VB.NET | Size: 0.38 KB | Hits: 116 | Expires: Never
Copy text to clipboard
  1. Public Class Form1
  2.  
  3.     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  4.         Dim row0 As String() = {"3/5/1970", "Matthew's Birthday"}
  5.         With Me.DataGridView1.Rows
  6.             .Add(row0)
  7.         End With
  8.         With Me.DataGridView1
  9.             .Columns(0).DisplayIndex = 0
  10.         End With
  11.     End Sub
  12.  
  13. End Class