>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")