BindingSource BSLive = new BindingSource(); DT = new DataTable(); DT.Columns.Add("Symbol"); DT.Columns.Add("Price", typeof(Int64[])); DT.Columns.Add("Volume", typeof(Int64)); DT.Columns.Add("DateNTime", typeof(Int64)); Int64[] it = { 1, 2, 3, 4 }; DT.Rows.Add(1, it, 2, 4); BSLive.DataSource = DT; dataGridView1.DataSource = BSLive;
dataGridView1.DataSource = BSLive;
dataGridView1.DataBind();
DT.Rows.Add(new Object[] {1, "Smith"});
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)