Me.DataGridView1.RowCount = 0
Me.DataGridView1.Rows.Clear()
It didn't work on mine.
Is it a problem with version/SP update?
I'm usign VS 2005. Info as below
Thanks
Bill
Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727
Installed Edition: Professional
Microsoft Visual Basic 2005 77626-009-0000007-41468
Microsoft Visual Basic 2005
Microsoft Visual C# 2005 77626-009-0000007-41468
Microsoft Visual C# 2005
Microsoft Visual C++ 2005 77626-009-0000007-41468
Microsoft Visual C++ 2005
Microsoft Visual J# 2005 77626-009-0000007-41468
Microsoft Visual J# 2005
Microsoft Visual Web Developer 2005 77626-009-0000007-41468
Microsoft Visual Web Developer 2005
Crystal Reports AAC60-G0CSA4B-V7000AY
Crystal Reports for Visual Studio 2005
Security Update for Microsoft Visual Studio 2005 Professional Edition - ENU
(KB925674)
This Security Update is for Microsoft Visual Studio 2005 Professional
Edition - ENU. \n
If you later install a more recent service pack, this Security Update will
be uninstalled automatically. \n
For more information, visit
http://support.microsoft.com/kb/925674
SQL Server Analysis Services
Microsoft SQL Server Analysis Services Designer
Version 9.00.3042.00
SQL Server Integration Services
Microsoft SQL Server Integration Services Designer
Version 9.00.2047.00
SQL Server Reporting Services
Microsoft SQL Server Reporting Services Designers
Version 9.00.2047.00