There is a linear array of data, there is a DataTable, BindingSource and DataGridView.
for (char x = 1; x < fuel->Columns->Count - 1; x++) { for (char y = 1; y < fuel->Rows->Count - 1; y++) { i = rx_msg[1].Data[c]; // i = 14.7 * 128 / i; //' convert to afr // i = System.Math.Round(i, 1) //'round to 1 dec pl fuel->Rows[y]->ItemArray[x] = i; DebugBox->Text += fuel->Rows[y]->ItemArray[x] + " \r\n"; c = c + 1; } } Spaces are displayed in the debagbox, empty in the datagrid, the project has not moved from WT. Datagrid is read from the hml schema if this is important, I suspect that the problem is related to the types of values.
fuel->Rows[y]->ItemArray[x]tryfuel->Rows[y]->default[x]orfuel->Rows[y]->Item[x]. - Alexander Petrov