Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datagridview
Message
De
12/03/2010 09:11:51
 
 
À
12/03/2010 09:07:31
Vishal Nyamagoudar
Swift Infocom India Pvt Ltd
Inde
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01454113
Message ID:
01454153
Vues:
36
>i tried it also by setting usertoaddnew rows true and also false but not works try it
>i m using dot 3.5 it shows error Argument exception was unhandled
>cannot clear the list
DataGridView dgv = new DataGridView();
            dgv.AllowUserToAddRows = false;
            dgv.ColumnCount = 5;
            dgv.Rows.Add(new DataGridViewRow());
            dgv.Rows.Add(new DataGridViewRow());
            System.Diagnostics.Trace.WriteLine("Count" + dgv.Rows.Count.ToString());
            dgv.Rows.Clear();
            System.Diagnostics.Trace.WriteLine("Count" + dgv.Rows.Count.ToString());
?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform