Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equivalent of AllowAddNew property in VFP to .Net grid
Message
From
30/08/2005 23:51:09
Rene Lovino
Bigfoot Global Solutions, Inc
Cebu, Philippines
 
 
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 1.1
OS:
Windows 2000
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01045089
Message ID:
01045375
Views:
26
Hi Kevin,

I have tried using the following code:
dsCustomers1.Tables["Customer"].DefaultView.AllowNew = false;

But still it allows to add data using arrow down key.


Rene

>Hi, Rene,
>
>For the datatable bound to the grid, you'll need to do the following:
>
>
MyTable.DefaultView.AllowNew = false
>
>Let me know if that helps
>Kevin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform