Dim table As New DataTable("Items") table.Columns.Add("Barcode", Type.GetType("System.32")) table.Columns.Add("ItemName", Type.GetType("System.32")) table.Columns.Add("ItemDescription", Type.GetType("System.32")) table.Columns.Add("Price", Type.GetType("System.32")) DataGridView1.DataSource = table table.Rows.Add(txtBar.Text, txtName.Text, txtDesc, 1, txtPrice.Text) DataGridView1.DataSource = table
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)