|
-
Oct 2nd, 2007, 01:59 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] [2005] Copy and past selected cells and the column headers of a datagridview
Hi there,
I have recently started dabbling with Access database with vb.net and have figure out how to use a datagridview.
My question is, how do you copy a range (or all of the datagridview) and paste in word or excel and it to include the header. I can easily select all the cells i want to copy and paste with ctrl-c + ctrl-v but it does not copy the header.
Please help
many thanks
If you find my thread helpful, please remember to rate me 
-
Oct 2nd, 2007, 05:00 AM
#2
Thread Starter
Frenzied Member
Re: [RESOLVED] [2005] Copy and past selected cells and the column headers of a datagridview
Silly me....
just enable the ClipboardCopyMode to be "EnableAlwaysIncludeHeaderText"
If you find my thread helpful, please remember to rate me 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|