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. Advertisements

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:
    469
    Duray AKAR
    Aug 12, 2003
  2. Jeff
    Replies:
    2
    Views:
    1,194
    clintonG
    Sep 19, 2006
  3. jakester
    Replies:
    3
    Views:
    2,139
    jakester
    Apr 3, 2007
  4. PaulNaude

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

    PaulNaude, Sep 19, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    239
    Brock Allen
    Sep 19, 2005
  5. Frits van Soldt

    How to insert a new record in detailsview when there are no record

    Frits van Soldt, Nov 16, 2005, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    1,214
    Frits van Soldt
    Nov 17, 2005
  6. Guest
    Replies:
    1
    Views:
    420
    Alex G
    Jan 9, 2004
  7. Maximus
    Replies:
    2
    Views:
    310
    Bob Barrows [MVP]
    Apr 12, 2007
  8. Henry J.
    Replies:
    16
    Views:
    440
    Peter J. Holzer
    Oct 8, 2008
Loading...