emi_sastra
asked on
DUPLICATE A ROW TO ANOTHER ROW OF A DATAGRIDVIEW
Hi All,
I want to duplication a row to another row of a datagridview.
Row Data
0 Fill with data
1 Fill with data
2 Empty Row
How could I copy row 0 to row 2 ?
Thank you.
I want to duplication a row to another row of a datagridview.
Row Data
0 Fill with data
1 Fill with data
2 Empty Row
How could I copy row 0 to row 2 ?
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you have a data-bound DataGridView, you should be changing rows in the underlying DataSource (usually a DataTable, though it could be different).
ASKER
Hi ElrondCT,
Yes, I have bound it to a datatable.
I don't get your point.
Thank you.
Yes, I have bound it to a datatable.
I don't get your point.
Thank you.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi All,
Thank you very much for your hep.
Thank you very much for your hep.
ASKER
The empty row was already there.
No need to add a new row, after copy then add a new empty row.
Thank you.