Excel linebreak datagridview quotation marks


#1

Hi I have a method to copy and paste from excel cells to some datagridview cells. Some of the cells in excel have linebreaks in them which come over (when copied and pasted) to the datagridview as quotation marks “”. This also happens if I paste it to notepad. How do I get rid of that programmatically? Is there a way to do it while it’s on the clipboard object? In CSharp


.NET Foundation Website | Blog | Projects | Code of Conduct