Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BindindContext: early-binding?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00815629
Message ID:
00816486
Vues:
24
A polite message to the user and a graceful exit rather than a crash? I am in no way suggesting this satisfies your desire for a compile-time solution. It just improves the runtime situation perhaps.

>You could. But what would you put in the catch block?
>
>>Hi Claudio,
>>
>>Would it make any sense to wrap the bindings in a try...catch block?
>>
>>pamela
>>
>>>>>>Yeah, but if you change the property name, you have to change the code anyway, so I don't see what the problem is.
>>>
>>>the problem is: I change the property's name in my class that's inside a class library. I compile the solution. The compiler will not produce an error. I run the application: it crashes! That's not good. :)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform