DateGridView
btn1
btn2
btn3
btn4
Public Class Form1 Private Sub btn1_Click(sender As Object, e As EventArgs) Handles btn1.Click Dim lines = (From line In IO.File.ReadAllLines("database.txt") _ Select line.Split(CChar(vbTab))).ToArray For x As Integer = 0 To lines(0).GetUpperBound(0) DataGridView1.Columns.Add(lines(0)(x), lines(0)(x)) Next For x As Integer = 1 To lines.GetUpperBound(0) DataGridView1.Rows.Add(lines(x)) Next End Sub End Class
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)