[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
Re: [RESOLVED] [2005] Copy and past selected cells and the column headers of a datagridview
Silly me....
just enable the ClipboardCopyMode to be "EnableAlwaysIncludeHeaderText"