Dim MyDtb1 As New DataTable,NRow as DataRow MyDtb1.Columns.Add("one", Type.GetType("System.String")) MyDtb1.Columns.Add("two", Type.GetType("System.String")) MyDtb1.Columns.Add("three", Type.GetType("System.String")) For p As Integer = 0 To 20 Drow = MyDtb1.NewRow MyDtb1.Rows.Add(Drow) Next DataGridView1.DataSource = MyDtb1
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)