Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Winform Datagrid in 1.1 - not allowing new rows
Message
De
18/09/2007 09:11:15
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
17/09/2007 20:31:03
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
VB.NET 1.1
Divers
Thread ID:
01254975
Message ID:
01255093
Vues:
10
>Hi, Mike, I forget 'exactly' the property, but for the defaultview of the datatable that's bound to the grid, there's a property called "AllowNew" (or maybe "AddNew", I forget which one) that you could set to false. That prevents a user from adding a new row to the grid.
>
>Hope that helps...

Kevin,
I had the datagrid bound to a dataview so I could filter dynamically, and the dataview has a AllowNew property which is what I wanted.

Thanks! I looked everywhere else but the dataview.
Very fitting: http://xkcd.com/386/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform