Groups | Blog | Home
all groups > asp.net datagrid control > september 2005 >

asp.net datagrid control : Datagrid: How do I allow edits but not new records?


PaulNaude
9/19/2005 12:01:02 AM
I would like to allow editing of data displayed in a datagrid but not the
adding of new records.

Brock Allen
9/19/2005 3:05:51 PM
The DataGrid supports inline editing. The URL below is the quickstarts for
doing this. The other option is to have a different details page (or section
on the page) for editing individual rows. This approach will be an all manual
endeavor.

http://www.dotnetjunkies.com/QuickStart/aspplus/default.aspx?url=/quickstart/aspplus/doc/webdataaccess.aspx

-Brock
DevelopMentor
http://staff.develop.com/ballen

[quoted text, click to view]

Elton Wang
9/19/2005 6:01:53 PM
Hi Paul,

If it's a web datagrid, it does not add new record automatically. I mean no
any thing you need to do.



HTH



[quoted text, click to view]

AddThis Social Bookmark Button