CSV files in C#
-
i have created a CSV file with following format "Test1";"Test2";"Test3" when i tried to read that csv in Notepad using C#.net i am getiing with following format """Test1"";""Test2"";""Test3""" is there any way to resolve this
Hi, what do you mean by "read that csv in Notepad using C#"? Maybe you could post the piece of code doing this? Regards Sebastian
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
-
i have created a CSV file with following format "Test1";"Test2";"Test3" when i tried to read that csv in Notepad using C#.net i am getiing with following format """Test1"";""Test2"";""Test3""" is there any way to resolve this
-
i have created a CSV file with following format "Test1";"Test2";"Test3" when i tried to read that csv in Notepad using C#.net i am getiing with following format """Test1"";""Test2"";""Test3""" is there any way to resolve this
If you are looking at the value in the debugger, you will see that sort of thing(though usually with backslashes (\)), but it's just the display format, nothing to worry about. How did you create file? How are you reading it?