Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BindindContext: early-binding?
Message
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00815629
Message ID:
00816486
Views:
23
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. :)
Previous
Reply
Map
View

Click here to load this message in the networking platform