Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Again a mmCombobox question
Message
From
22/08/2003 14:16:25
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00822250
Message ID:
00822710
Views:
17
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
Previous
Reply
Map
View

Click here to load this message in the networking platform