Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Winform Datagrid in 1.1 - not allowing new rows
Message
From
18/09/2007 09:11:15
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
VB.NET 1.1
Miscellaneous
Thread ID:
01254975
Message ID:
01255093
Views:
11
>Hi, Mike, I forget 'exactly' the property, but for the defaultview of the datatable that's bound to the grid, there's a property called "AllowNew" (or maybe "AddNew", I forget which one) that you could set to false. That prevents a user from adding a new row to the grid.
>
>Hope that helps...

Kevin,
I had the datagrid bound to a dataview so I could filter dynamically, and the dataview has a AllowNew property which is what I wanted.

Thanks! I looked everywhere else but the dataview.
Very fitting: http://xkcd.com/386/
Previous
Reply
Map
View

Click here to load this message in the networking platform