Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detect Event Viewer Keywords null value
Message
De
09/01/2017 11:52:05
 
 
À
09/01/2017 11:45:24
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 Server 2012
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01646401
Message ID:
01646422
Vues:
29
>A .Net long (Int64) is never null (unless you use a nullable type) - it's a value reference. Are you confusing it with the DBType (which can be nullable)

The event viewer object I receive has it as null, in a new environment we are using. Under 2008, I use to have a numeric value in there. But, under 2012, it is null. So, when this is transfered into the table, it ends up as a null. So, I thought I would detect its null value, before saving, and adjust accordingly. However, the event viewer object is a beast on its own as not everything is accessible in conventional ways. I cannot even compare .HasValue as it will not detect it is null. So, even with that, I ended up with a null value in the table. For now, I had to put it in comment.
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