Salut,
Je ne comprend pas pourquoi ceci ne fonctionne pas, quelqu'un pourrait m'aider ?
J'ai le message impossible de convertir string en int
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 String strTransfert = hidTransfert.Value; //controle HTML Hidden runat=server Int32 ClientCode = -1; strTransfert = hidTransfert.Value; if (IsPostBack) { if (strTransfert!="") { String[] tTransfert = strTransfert.Split('|'); if (tTransfert.Length > 0) { ClientCode = (Int32)tTransfert[0]; } } }
Bien à vous
Laurent Jordi
http://www.ezlogic.mc
Partager