Copy & Paste functions in datagrid?

Hi,
I'd like to create my own Copy & Paste on datagrid. There should be functions available for them. Any body knows that?
Thanks
[142 byte] By [codefund.com] at [2007-12-16]
# 1
There is no support for pasting data directly into the grid.

The grid listens to the Ctrl-C message to determine that the user wants to copy the data.

It seems that the best approach would be to inherit from the grid and override DataGrid::ProcessDialogKey. In your implementation call base.ProcessDialogKey for all keys which are not Ctrl-C or Ctrl-V or Ctrl-X and for these three messages do your own processing.

codefund.com at 2007-9-8 > top of Msdn Tech,Windows Forms,Windows Forms Data Controls and Databinding...