Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > how 2 allow new record but not editing existing ones

Thread Tools

how 2 allow new record but not editing existing ones

Posts: n/a
I use

DataGrid1.DataSource = DataSet11.Tables("EquipmentProducts").DefaultView

and the AllowNew etc. properties of the defaultView.

Unfortunately, if you use AllowNew = true and AllowEdit = false, you can't
type in the fields of the new record.

I need to be able to add new records, but not allow editing of existing ones.

Is this possible?
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
DVD recorders/burners with hard disks - which ones allow editing before burning to DVD-R? Dan E DVD Video 2 06-06-2005 03:05 PM
Hard drives--Are big ones more delicate than smaller ones? PowerPost2000 Computer Support 2 03-01-2005 10:30 PM
insert record using stored proc returns no error but doesn't inserd record ASP General 1 01-09-2004 04:53 PM
Disabling a field when editing an existing record in a Datagrid Mark Perona ASP .Net 2 08-12-2003 07:24 PM