Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's Wrong With This
Message
De
20/07/2007 19:10:25
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01242497
Message ID:
01242532
Vues:
17
>
>iCount = oDS.Tables[0].Rows[0]["reccnt"];
>
>
>When I try to compile, I get
>"Cannot implicitly convert type 'object' to 'int'. An explicit conversion exists (are you missing a cast?)"
 iCount = (int)oDS.Tables[0].Rows[0]["reccnt"];
Update: Forgot to say why it errors. You always get an object and you need to cast it.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform