Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question about datagrid
Message
De
30/08/2005 13:19:41
 
 
À
30/08/2005 08:14:30
Rene Lovino
Bigfoot Global Solutions, Inc
Cebu, Philippines
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 1.1
OS:
Windows 2000
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01045092
Message ID:
01045230
Vues:
16
Rene,
  MyTable.DefaultView.AllowNew = false  
Where MyTable is the table bound to the grid.

~~Bonnie


>Hi All,
>
>When we run the windows form with datagrid by default the grid display the first rows with NULL values.
>I only want to display the row when the user click the Add button. By default you can type to the first row in the grid.
>The same also if I display some records in the grid. There is a row in the bottom with NULL value.
>
>How I can prevent this? Anybody have a sample code?
>
>
>Thanks,
>
>Rene
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