Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
imranabdulaziz
Yak Posting Veteran
83 Posts |
Posted - 2007-07-25 : 01:42:26
|
| Dear All,I am using asp.net2.0, C#, sql2005 using Visual studio 2005I am storing imagepath in field of table whose datatype is nvarchar(250).My problem is when I pass as argument of \\\\servername\\directory\\imagename it stores as \\servername\directory\imagename I would like to it as argument passed so that I can just fetch the url and display image Please guide me Thanks |
|
|
salavat_a
Starting Member
5 Posts |
Posted - 2007-07-25 : 02:25:06
|
| in c# '\' is an escape character, so everytime you have "\\" it means "\".if you want to store "\\\\servername\\directory\\imagename" then you need to pass "\\\\\\\\servername\\\\directory\\\\imagename",but I doubt that is what you trying to achieve.Are you trying to replace the "\\servername" with "http://applicationurl"? |
 |
|
|
|
|
|