Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Suppress row addition in a datagrid
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00808622
Message ID:
00808655
Vues:
15
Yes, something like this:
DataTable dt = ds.Tables[0];
grd.DataSource = dt;
dt.DefaultView.AllowNew = false;
>I'm displaying info from a dataset in a datagrid on a Windows form.
>
>I want users to be able to update the information in the grid, but I don't want them to add rows at the end of the grid.
>
>Is there a way to suppress row addition to a datagrid?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform