how to prevent add new row to datagrid

Discussion in 'ASP .Net Datagrid Control' started by TM, Dec 6, 2003.

  1. TM

    TM Guest

    I have a datagrid bound to a table in an access database, and would like to
    have users only add new records through a input form so that I can verify
    that the new item is valid.

    Is there any way to prevent a user from adding a new row to the datagrid
    directly so that they can only do it through my input form ?

    Thanks
    --
    Tony
    TM, Dec 6, 2003
    #1
    1. Advertising

  2. TM

    Jos Guest

    TM wrote:
    > I have a datagrid bound to a table in an access database, and would
    > like to have users only add new records through a input form so that
    > I can verify that the new item is valid.
    >
    > Is there any way to prevent a user from adding a new row to the
    > datagrid directly so that they can only do it through my input form ?


    A normal datagrid doesn't allow the user to add rows.
    Usually, you need to add a link and code to make that possible.

    --

    Jos
    Jos, Dec 6, 2003
    #2
    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. =?Utf-8?B?U3VyZXNo?=
    Replies:
    1
    Views:
    453
    Saravana
    Nov 22, 2004
  2. Replies:
    0
    Views:
    354
  3. Replies:
    0
    Views:
    410
  4. Paul
    Replies:
    1
    Views:
    2,254
    Hermit Dave
    Jul 11, 2008
  5. D
    Replies:
    0
    Views:
    199
Loading...

Share This Page