Hi all
I'm getting this value from a CheckBoxList control - a location of file, i have to remove "\\" and replace it with "\" and pass it to Query, how to do it, i tried with Replace, but coud'nt suceed.
"\\\\Blaze10xp\\BLZ_SFS_07\\Sample Excel Files\\Excel Files\\report2.xls"
thank's in advance
- Prakash.C
![]() |
0 |
![]() |
you tried Replace like this?
string newstring = oldstring.Replace(@"\\",@"\");
Plese, do not forget to click "Mark as Answer" on the post that helped you. Thanx!
My blog: Scenes From A Developer Memory
![]() |
0 |
![]() |
yes i tried like that then also it shows that "invalid escape seqeance..."
no-one haven't came across this problem yet....?
please any solution
Prakash.C
![]() |
0 |
![]() |