How to copy GridView data into clipboard in DevExpress Winforms
            Asked
            
        
        
            Active
            
        
            Viewed 764 times
        
    -1
            
            
        - 
                    https://stackoverflow.com/questions/3546016/how-to-copy-data-to-clipboard-in-c-sharp – andy Jul 03 '17 at 06:59
2 Answers
0
            
            
        Take a look at the Clipboard - Copy Data and Formatting documentation article:
DevExpress controls allow end-users to copy the control's selected data to the Clipboard using the common CTRL+C shortcut. These controls also provide the CopyToClipboard method to perform selection copying in code.
Thus, fell free to use the BaseView.CopyToClipboard and the GridView.OptionsClipboard options.
 
    
    
        DmitryG
        
- 17,677
- 1
- 30
- 53
0
            
            
        SelectCellAnchorRange() function is used to select cell range. In this methods set both start_column and end_column same as below
Grid.SelectCellAnchorRange(0, columndetails, total_rows, columndetails);
columndetails - which column you want to copy.
 
    
    
        A. S. Mahadik
        
- 585
- 1
- 5
- 17