Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comparing Data Row column values and string values
Message
 
 
À
11/07/2013 01:53:48
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01578028
Message ID:
01578192
Vues:
53
>>I don't think VFP code can easily be ported into C#, it's quite complex and uses macro substitution.
>
>Then make samples of input and output of different data types and values
>
>The usual much ado about nothing

I posted the sample several times in this thread. That was sample of input. The output is simple: if I have empty string in the field as input and 0 in numerical column value, they should compare equal.

Rob's solution was perfect and this piece of logic now works great. Unfortunately, a little farther in the logic I still get the famous Invalid cast exception. I started to look at it last night, hope to go to the bottom today.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform