I want to use Drag Drop But i don't know How to drag information from a DataGridView control to DataGridView or ListBox ?
i got a link http://www.codeproject.com/KB/cpp/DataGridView_Drag-n-Drop.aspx
The datarow is an object in a datatable. A DataView (usable with the name DefaultView) is a seperated table in the DataTable where the sort and rowselections are properties from. That (DataView) Defaultview contains datarowview objects. Be aware it is all about references, there is not much memory spoiled.
The DataRowView objects expose values as object arrays that are indexed by either the name or the ordinal reference of the column in the underlying table. You can access the DataRow that is exposed by the DataRowView by using the Row property of the DataRowView.
DataRowView.Row should contain the DataRow displayed in the view.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With