Hi
I want to copy the contents of a DataGridView and paste in in Excel. I tried
myDataGrid.SelectAll();
DataObject dataObj = myDataGrid.GetClipboardContent();
Clipboard.SetDataObject(dataObj, true)
But this just pastes nothing
Any suggestions?
Thanks