Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datagridview
Message
From
12/03/2010 09:11:51
 
 
To
12/03/2010 09:07:31
Vishal Nyamagoudar
Swift Infocom India Pvt Ltd
India
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01454113
Message ID:
01454153
Views:
35
>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());
?
Previous
Reply
Map
View

Click here to load this message in the networking platform