Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning row position
Message
From
27/08/2004 11:18:57
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Returning row position
Miscellaneous
Thread ID:
00937029
Message ID:
00937029
Views:
48
Hello,
I have a dataset in which I am checking by using the following code. I have this dataset bound to a datagrid.

Dim row As DataRow
For Each row In gModelTagsDS.Tables("quantity").Rows
If row("quantity") < 0 Then
MsgBox("Quantity must be a whole number")
Exit Sub
End If
Next

What I want to do is when it hits the Exit Sub point to the row in the datagrid which contains the value less than 0. Any help would be greatly appreciated. TIA!


MAC
Very fitting: http://xkcd.com/386/
Next
Reply
Map
View

Click here to load this message in the networking platform