G
Guest
i have an aspx page in the code behind i have
in aspx.cs
public string sPath = "C:\\Public\\User\\Other";
is aspx when I tried to get the string the slahes is gone i tried to alert
the string it gave me C
ublicUserOther , why?
<script language=javascript>
function CreateFolder()
{
var Path = '<%= sPath %>'l
alert('<%= sPath %>');
}
</script>
any help?
in aspx.cs
public string sPath = "C:\\Public\\User\\Other";
is aspx when I tried to get the string the slahes is gone i tried to alert
the string it gave me C
<script language=javascript>
function CreateFolder()
{
var Path = '<%= sPath %>'l
alert('<%= sPath %>');
}
</script>
any help?