J'ai la chaîne suivante:Malheurs de cordes en C# - ayant un. à côté d'un "
string text = @"<a href=""http://raustdsx0700.real.local:7782/analytics/saw.dll?PortalPages&PortalPath=" + dashboardURL + "&Page=" + reportName + @"&P0=1&P1=eq&P2=Project.""Project Name"" target=""_blank"">" + reportName + "</a><br/><br/>";
Quand il ressemble à cette chaîne s'écrit sur ma page, ceci:
<a href="http://raustdsx0700.real.local:7782/analytics/saw.dll?PortalPages&PortalPath=/shared/Real Estate Reporting_portal/REGIS: Financial Reporting UAT/&Page=DR - 3: Debt Payment History&P0=1&P1=eq&P2=Project\."Project Name" target="_blank">DR - 3: Debt Payment History</a>
Quelqu'un peut-il expliquer pourquoi l'identification de la période étant échappé ? Je tâtonner avec la façon d'échapper à cette correctement.
Merci.
question intéressante, mais pourquoi pas seulement changes le? Projet "+". \ "" + @ "Projet – Fosco
C'est pourquoi FxCop gémit lorsque vous utilisez un littéral au lieu d'un Uri. – Will