Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datatable.rows.item
Message
De
01/05/2007 14:09:41
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
01/05/2007 13:02:47
Takashi Koyama
National Indemnity Company
Omaha, Nebraska, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01221564
Message ID:
01221619
Vues:
15
>Hello,
>I was able to get the data using datatable.rows.item("cState") in VB.Net (Visual studio 2003)
>
>However, when we upgrade it to VB.net (Visual studio 2005), it no longer recognizes
>datatable.rows.item("cState"). It forces me to use the index instead.
>
>Is there anyway to force VB.NET 2.0 to recognize datatable.rows.item("cState")?

I'm not sure how the first statement would work, even in 2003. How would it know what row to get the field from? I would think you would want something like:
datatable.row(0).item("cState")
or
datatable.row(0)("cState")
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform