Basically I have a datagrid of 6 columns.Also,on the same form I have 6 TextBox. When i fill all TextBox, i click on a Button "ADD"; then, all the textbox are loaded in the appropriate columns of my DataGrid.
In other words, I have a datagrid composed of:
COLUMN 1COLUMN 2COLUMN 3COLUMN 4COLUMN 5COLUMN 6
Now,in another region of the same window(form)I have:
TextBox1TextBox2TextBox5TextBox4TextBox3TextBox6
I want that once all the TextBox are filled, each time that i press the button "ADD",all the contents of the textbox appear in the appropriate columns, ie
COLUMN 1COLUMN 2COLUMN 3COLUMN 4COLUMN 5COLUMN 6
TextBox1TextBox2TextBox5TextBox4TextBox3TextBox6
TextBox4.1TextBox3.1TextBox2.1TextBox5.1TextBox1.1TextBox6.1
TextBox4.2TextBox3.2TextBox2.2TextBox5.2TextBox1.2TextBox6.2
The DataGrid should be fill always that i click the button"ADD"
Note: Is not a DataGridView, is DataGrid
Thanks,