Datagrid to Clipboard/Excel

I'm working at a client site where the client is displayed a datagrid. The client wants to be able to select the grid and copy/paste the contents into Excel. When I did this, excel pasted the contents as a picture. Is there some way code-wise to do this? Thanks!
enoch100Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
GregJenningsConnect With a Mentor Commented:
You could export the grid to a file and then load the file in Excel.
0
 
enoch100Author Commented:
To be more clear, I don't want Excel to paste it as a picture. I would like the cells and data to go into excel.... as cells and data.
0
 
enoch100Author Commented:
To be more clear, I don't want Excel to paste it as a picture. I would like the cells and data to go into excel.... as cells and data.
0
 
enoch100Author Commented:
That's a good idea... I could go thru the cols and put them into a comma-delimited file which they can open up later... Thanks! Didn't even occur to me. <sigh> damn M$ and their clipboard! :)
0
 
GregJenningsCommented:
You might check to see if there's an export function built in to the control.  I once used a grid control that had an export function and all I had to do was call that function with the output filename and it created the file for me.
0
All Courses

From novice to tech pro — start learning today.