Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HowTo: From DataGridView control to ListBox
Message
From
30/03/2007 21:36:56
 
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01208957
Message ID:
01210659
Views:
19
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
Previous
Reply
Map
View

Click here to load this message in the networking platform