EditCommandColumn - Adding Row?

Discussion in 'ASP .Net' started by Will Lastname, Sep 27, 2005.

  1. Is it possible to add a row to a bound datagrid? My current application
    allows editing and deleting of a row but not yet adding a row to input
    information. The ultimate goal would be to add a row and then have
    'Update' and 'Cancel' displayed so that the information could be
    written to a database or discarded altogether.

    Any suggestions?
    Will Lastname, Sep 27, 2005
    #1
    1. Advertising

  2. Will,

    This article shows how to do what you want by adding text boxes to the
    footer of the datagrid:

    http://aspnet.4guysfromrolla.com/articles/021203-1.aspx


    --
    Sincerely,

    S. Justin Gengo, MCP
    Web Developer / Programmer

    www.aboutfortunate.com

    "Out of chaos comes order."
    Nietzsche
    "Will Lastname" <> wrote in message
    news:...
    > Is it possible to add a row to a bound datagrid? My current application
    > allows editing and deleting of a row but not yet adding a row to input
    > information. The ultimate goal would be to add a row and then have
    > 'Update' and 'Cancel' displayed so that the information could be
    > written to a database or discarded altogether.
    >
    > Any suggestions?
    >
    S. Justin Gengo, Sep 27, 2005
    #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. RobS

    EditCommandColumn validation

    RobS, Dec 8, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    1,400
    Peter Blum
    Dec 11, 2003
  2. Rick
    Replies:
    1
    Views:
    469
    Richard Ryerson
    Feb 2, 2004
  3. tshad
    Replies:
    0
    Views:
    541
    tshad
    Nov 1, 2004
  4. Luis Esteban Valencia

    My addnew row button is only adding one row?

    Luis Esteban Valencia, Mar 23, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    830
    Luis Esteban Valencia
    Mar 23, 2005
  5. D
    Replies:
    0
    Views:
    205
Loading...

Share This Page