In a C# 2008 application, I am creating directory paths like the following in code:
C:\\temp\\testt1\\customer.
I need to be able to save this value in columns in a sql server 2008 r2 database. I
want the above directory to be saved as:
C:\temp\testt1\customer.
I have tried to replace \\ with \ using the replace string function but I am getting escape character errors.
Thus can you tell me how to resolve this problem?