Le code suivant me leve une exception "System.FormatException: Input string was not in a correct format."
J'avoue ne pas comprendre pourquoi. Je fait ce genre de truc des dizaines de fois dans mon appli sans pb, mais là çà veux pas
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 string script; string url = "http://<a href="http://www.developpez.com";" target="_blank">www.developpez.com";</a> script = string.Format(@" <script> w = window.self; if (w.opener) { w.opener = window.self; w.close(); } else window.location = '{0}'; </script>",url);![]()
Partager