I have a query whcih returns a dataset. the dataset looks something like
this..
Country, NumEvents
1,0
2,7
3,23
4,3
Given a country ID (1..4), how can I find the corresponding NumEvents
value.
For example, I want to do something like (assuming country ID 3
corresponds to Canada)..
canada.text = myDS.Tables(0).FindValue("country = 3")
Whats the right approach?
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!