|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Copy DataGrid Rows to ClipboardHow do I copy the contents of selected rows in a DataGrid (that is
bound to a Dataset via a DataView) to the Clipboard for pasting into other applications - such as Excel? Doing the same from a TextBox is easy via the TextBox.SelectedText property, but I can't find the DataGrid property to do the same for the selected rows. Devlei,
I would not know why this would go. A datagrid is not an dataformat, so it can not be used on the clipboard. I assume that you will first have to make an excel sheet from it using the office development or office interop. I hope this helps, Cor Show quoteHide quote "Devlei" <dev***@eastcape.net> schreef in bericht news:1141657715.392411.224940@i40g2000cwc.googlegroups.com... > How do I copy the contents of selected rows in a DataGrid (that is > bound to a Dataset via a DataView) to the Clipboard for pasting into > other applications - such as Excel? Doing the same from a TextBox is > easy via the TextBox.SelectedText property, but I can't find the > DataGrid property to do the same for the selected rows. >
VSTO 2005 - Read Range from excel
Create application to extract data from excel sheet How can we mail some file without mentioning the SMTP server addre OOP / 3-Tier development questions VB.NET 2005 & XML Treeview population directly from MSAccess writing custom event for minimise, restore and close buttons How to create a Service to Log Application Names Re: "Visual Web Developer does not support creating Web sites on a Macros too slow ! |
|||||||||||||||||||||||