Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Again a mmCombobox question
Message
De
22/08/2003 14:16:25
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00822250
Message ID:
00822710
Vues:
16
Kevin,

Hmmm ... my bad I guess ... I didn't look before I typed. <g> All I remember is thinking how weird it was that the SelectedIndexChanged fired a gazillion times before the form even comes up. I think I switched to using the SelectedValueChanged event instead (which I think is quirky too, but not as bad) ... I've even, in some cases, had to resort to just using the Validated event (which I don't like to do unless I'm really stuck because it forces the user to have to tab out of the combo ... but, oh well).

~~Bonnie


>Bonnie,
>
>>You would probably want to check whether it's null or not, rather than for a specific type of data. More like this:
>
>Actually, you do need to check the type, because the value is set to the type System.Data.DataRowView when the DisplayMember and ValueMember properties are set. In this case he only wants to process the value when it is a String.
>
>Regards,
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform