Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting method in sub class
Message
From
31/03/2015 10:20:58
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01617154
Message ID:
01617492
Views:
21
>Can't see why that would be happening. What exactly are you seeing ?

The same code is used when entering the form, in the related method, and in the save method when saving. In the save method, a direct reference to the class name would simply make the application to crash. Then, without changing any code, a minute later, when entering the form, I have an error about a runtime such as "No default member found for type 'RuntimeType'.". In overall, this is not safe as I believe we should always establish object reference to a class and negotiate with that instead of using a method name directly like that.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform