Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Casting ..no. must be less than infinity
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Casting ..no. must be less than infinity
Divers
Thread ID:
01279794
Message ID:
01279794
Vues:
90
Hi. I have following code:

double Disc = (Double)rdr["Disc"];

and I am getting an error:
..When casting from a number, the value must be a number less than infinity

This is in an OLeDBDataReader and Disc is a Numeric Field. It is poupulated with data. I have tried tis with N(1,0) and N(12,2) and get same error.

Anybody got any ideas whats causing this ? . Character fields are not causing a problem.
Regards,
Gerard
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform