TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
dc
NA
663
0
C# replace characters
Oct 16 2012 9:50 AM
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?
Reply
Answers (
5
)
Invalid attempt to call Read when reader is closed
C# file exists