Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with AddRange and DataGridView
Message
From
04/02/2009 17:54:40
 
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01378089
Message ID:
01379371
Views:
21
Probably going to need to see some more code Pete. The DataGridViewTextBoxColumn is sub-classed from DataGridViewColumn, so it should all be able to cast ok. I just think you're not going to be able to add columns from the designer, but in your own code.

~~Bonnie



>Hi Bonnie, sorry for the slow response - we have had serious snow here in the UK so my Web time has been seriously reduced - here is my class.
>
>
>public class MyDataGridViewTextBoxColumn:DataGridViewTextBoxColumn
>    {
>        public MyDataGridViewTextBoxColumn()
>        {
>        }
>    } 
>
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform