Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListView vs DataGridView
Message
 
 
À
04/02/2010 00:33:31
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01447350
Message ID:
01447455
Vues:
24
Hi Bonnie,

I will go with DataGridView and not because it is "quick and dirty" but I believe it is better suitable for thask. The only thing that would make me consider ListView is if you said that it is 100 times lighter than grid. But it does not seem to be.

Thank you.

>Hi Dmitry,
>
>The DataGridView is probably easier to work with for you, particularly since you've already been playing with it. The ListView still does not have support for DataSources or DataBinding and so you have to add the Items manually and handle the SelectedIndexChanged event (or write your own DataSource/Binding functionality into a ListView sub-class). That's not necessarily a bad thing, but there is a lot more work involved and I believe you're looking for "quick and dirty" at this point, am I right?
>
>~~Bonnie
>
>
>
>>Hi,
>>
>>After trying suggestions of modifying combo box or using combo box with a form and a list box, I find that I am not happy the way either one of these works. So I decided to try building my own user control with a form where user will select an entry. The lookup form will use either listview or datagridview control. I think that datagridview control is lighter and easier to work with. But I was wondering on what people with experience of doing WinForm application think is a better choice?
>>
>>TIA.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform