Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HowTo: From DataGridView control to ListBox
Message
De
30/03/2007 21:36:56
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01208957
Message ID:
01210659
Vues:
17
I'm obviously coming late to this discussion, but I wanted to add one thing worth mentioning:

It looks to me like you guys were talking about two different things ... John was talking about a ListView and Jim was talking about a ListBox. Two totally different animals, as I'm sure you both know. ListBoxes are databindable, whereas ListViews are not.

~~Bonnie





>John,
>
>I've gone the route of the filter. I am populating the ListBox via a DataBinding control. Selecting the 'date' field from the Sessions table, and using a filter.
>
>I have create an event handler for the SelectionChanged event of the DataGridView. In the handler, I just set the filter string for the ListBox.
>
>Works very nicely.
>
>Thanks again for your help.
>Jim
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