I would like to edit/read/write the contents of an array using a DataGrid.
I have started with Form1 to which I have visually:
Added DataGrid1
Added DataSet1
Added Table1 and Column1 to DataSet1
Chosen DataTable1 as the DataSource for DataGrid1
I can run this program now and I get a nice grid where I can add, edit, delete, copy and even sort the text I enter - wonderful, just what I wanted.
So now what's the easiest/best/recommended way to tie this to an array so that the contents also get updated? So far I've only found DataGrid examples using Access/SQL/database stuff which I hope I can do without.
I have started with Form1 to which I have visually:
Added DataGrid1
Added DataSet1
Added Table1 and Column1 to DataSet1
Chosen DataTable1 as the DataSource for DataGrid1
I can run this program now and I get a nice grid where I can add, edit, delete, copy and even sort the text I enter - wonderful, just what I wanted.
So now what's the easiest/best/recommended way to tie this to an array so that the contents also get updated? So far I've only found DataGrid examples using Access/SQL/database stuff which I hope I can do without.