Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Avoiding DataGrid Adding New Rows
Message
 
À
19/05/2003 04:36:26
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00789791
Message ID:
00789914
Vues:
26
Thank you Plamen,

I'll try it out, I thought I have to use this:
Dim ds As DataView
>No, you do not need to change or remove your DataSet. Just bind DataGrid to the DataView of the table. If now you have:
>
>DataGrid1.DataSource = DataSet1.Tables(0)
>
>you must change this to:
>
>DataSet1.Tables(0).DefaultView.AllowNew = False
>DataGrid1.DataSource = DataSet1.Tables(0).DefaultView
>
<><><><><><><><><><><><><><><><><><><><>
<><> REMEMBER,,,,KNOWLEDGE IS POWER <><>
<><><><><><><><><><><><><><><><><><><><>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform