T
Tina
I'm using 1.1/vs.net 2003 ...
C#example..............
string myPath = Server.MapPath(".\\Data\\" + (string)
Session["LogoFileName"]);
Produces this value in myPath
?myPath
@"c:\inetpub\wwwroot\CSharpCustomers\Data\GaryRocks.jpg"
VB example.............
Dim myPath As String = Server.MapPath(".\Data\" + Session("LogoFileName"))
?myPath
"C:\Inetpub\wwwroot\CPCustomers\Data\GaryRocks.jpg"
the vb example works. the c# does not work. I notice that @ preceding the
string in the c# example. Could that be the difference? What am I doing
wrong in the C# example?
thanks,
T
C#example..............
string myPath = Server.MapPath(".\\Data\\" + (string)
Session["LogoFileName"]);
Produces this value in myPath
?myPath
@"c:\inetpub\wwwroot\CSharpCustomers\Data\GaryRocks.jpg"
VB example.............
Dim myPath As String = Server.MapPath(".\Data\" + Session("LogoFileName"))
?myPath
"C:\Inetpub\wwwroot\CPCustomers\Data\GaryRocks.jpg"
the vb example works. the c# does not work. I notice that @ preceding the
string in the c# example. Could that be the difference? What am I doing
wrong in the C# example?
thanks,
T