I have an Winforms application that contains a DataGridView
. The user has requested the ability to copy data to and from Excel.I have got the thing working exactly as I want it to, but there is one thing that happens when going from my DataGridView
to Excel.
My question is this, is there any way to retain leading zeros on a string that contains only digits when pasting into Excel?