Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Copy paste between 2 different DataGridViews

$
0
0

I have created a program to import in a CSV file and display to datagridview. Then I created another datagridview to display on output of a search. Both these work VERY will. However, I want to be able to copy either cell, row, column, or table from the datagridview, and then paste data into some other program like XLS, Notepad, Word, etc.

I have done this with single, but not sure how to tell the C# program to select the appropriate object.


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>