Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataView/DataSet/DataReader
Message
From
08/01/2007 12:25:24
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
08/01/2007 11:59:33
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
01183234
Message ID:
01183485
Views:
37
No Michel the sam prb was that he wasn't casting the datarow to the int, in c# you always need to cast to the specific type like you do in VB.NET when you have option strict on, I always use option strict on and recomend to anyone one using vb.net to do the same since it can help you find prbs on your app while your developing.

>
>I think this is related because this is not a datarow. I would suggest you use a datarow as you will be able to deal directly with the content of the field as is.
>
>As soon as you have a dataset, you can scroll into it like this:
>
>
>        For lnCounter = 0 To lnYourRecordCountOfTheDataSetHere
>            loRow = loDataProvider.oDataSet.Tables(YourAlias).Rows(lnCounter)
>            lnAmount = loRow("MaxOrdAmt")
>        Next
>
Alexandre Palma
Senior Application Architect
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform