Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datatable.rows.item
Message
From
01/05/2007 14:09:41
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
01/05/2007 13:02:47
Takashi Koyama
National Indemnity Company
Omaha, Nebraska, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01221564
Message ID:
01221619
Views:
19
>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/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform