2009-01-29 6 views

Répondre

3
try { 
    userId = new Guid(Request.QueryString["id"]); 
} catch (FormatException e) { 
    /* 
    * It's possible that the guid is not properly formatted and an 
    * exception will be thrown, so handle that here. 
    */ 
} 
+0

Merci, ça marche, j'ai passé longtemps à chercher une solution – ahmed

+0

Vraiment, avez-vous? – Cerebrus

Questions connexes