PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
What happened to FindByValue in the compact framework??
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
What happened to FindByValue in the compact framework??
![]() |
What happened to FindByValue in the compact framework?? |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I use this in the .NET framework to auto-select a value from a
combobox: cmbBx.SelectedIndex = cmbBx.Items.IndexOf(cmbBx.Items.FindByValue(mySelection)) Now I am trying to do the same thing in the NET compact framework but FindByValue is not there?? Is there a way to do the above (in one line of code like shown above) without using FindByValue? Thanks Before Hand, Adiel |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Ooops! FindByValue is for ASP.NET. The correct code in the compact
framework is: cmbBx.SelectedValue = mySelection |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

