if add row to DataTable
DataTable
DataRow row = datatable1.NewRow(); row[\"column2\"]=\"column2\"; row[\"column6\"]=\"column6\"; datatable1.Rows.Add(row);
string[] splited = t.Split('>'); int index = dgv_customers.Rows.Add(new DataGridViewRow()); dgv_customers.Rows[index].Cells["cust_id"].Value=splited.WhichIsType("id;");
But be aware, WhichIsType is the extension method I created.
WhichIsType