c# - DataGrid copy to clipboard - losing data -


i wrote app generating report , after clicking right button exports data excel. when use don't want press button. want do: ctrl+a, ctrl+c , paste excel.

the problem here after ctrl+v pastes 241 rows excel in report there 244 rows. cuts 3 rows. have no idea why, tought there limit when i'm generating report less rows cuts 2 rows. idea why happening ?

btw: didn't write method copying couldn't screw anything. grateful if me.

are using web app or windows app?

you mimic button press using key combination (like ctrl+v) if it's web app

look here more information:

http://dmauro.github.io/keypress/


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -