Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting method in sub class
Message
De
31/03/2015 10:20:58
 
 
À
31/03/2015 10:17:34
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01617154
Message ID:
01617492
Vues:
20
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform