We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to copy the data from one row to many rows and one column to many columns?

In order to copy the data from one row to many rows and one column to many columns, the ClipBoardCanPaste event can be used. The target row or column range has to be given based on the Row and Column cells pasting. The data can be pasted to grid by using PasteTextFromBuffer method.

Code Snippet

C#

 

VB

 

 

 

 

 

Screenshot

Column based copying

C:\Users\piruthiviraj.malaime\Desktop\6.PNG

Row based copying

C:\Users\piruthiviraj.malaime\Desktop\7.PNG

Sample Links

C#: Copy and Paste_CS

VB: Copy and Paste_VB

 

Article ID: Published Date: Last Revised Date: Platform: Control:
6275 02/15/2016 02/15/2016 Windows Forms GridGroupingControl
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.