how 2 allow new record but not editing existing ones

Discussion in 'ASP .Net Datagrid Control' started by PaulNaude, Dec 6, 2005.

  1. PaulNaude

    PaulNaude Guest

    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?
     
    PaulNaude, Dec 6, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark Perona
    Replies:
    2
    Views:
    387
    Duray AKAR
    Aug 12, 2003
  2. Jeff
    Replies:
    2
    Views:
    958
    clintonG
    Sep 19, 2006
  3. PaulNaude

    Datagrid: How do I allow edits but not new records?

    PaulNaude, Sep 19, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    117
    Brock Allen
    Sep 19, 2005
  4. Guest
    Replies:
    1
    Views:
    265
    Alex G
    Jan 9, 2004
  5. Henry J.
    Replies:
    16
    Views:
    286
    Peter J. Holzer
    Oct 8, 2008
Loading...

Share This Page