Adding data to a grid

Discussion in 'ASP .Net Datagrid Control' started by Zach Wells, Apr 6, 2004.

  1. Zach Wells

    Zach Wells Guest

    Got a basic question here. I know how to Edit and delete existing data
    from a grid. Is there any standard way of adding data to a grid?
    Currently I'm hiding fields on a form that get displayed when the user
    clicks a separate "Add" button, then I insert that data into my table
    and refresh my grid.

    I'm wondering if there is a way to add a new row of data to the grid
    similarly to the way edit works. Am I just missing something obvious?

    Zach
     
    Zach Wells, Apr 6, 2004
    #1
    1. Advertising

  2. follow this link, i provide two ways to do this
    http://tinyurl.com/3aozq

    --
    Regards,
    Alvin Bruney [ASP.NET MVP]
    Got tidbits? Get it here...
    http://tinyurl.com/27cok
    "Zach Wells" <> wrote in message
    news:...
    > Got a basic question here. I know how to Edit and delete existing data
    > from a grid. Is there any standard way of adding data to a grid?
    > Currently I'm hiding fields on a form that get displayed when the user
    > clicks a separate "Add" button, then I insert that data into my table
    > and refresh my grid.
    >
    > I'm wondering if there is a way to add a new row of data to the grid
    > similarly to the way edit works. Am I just missing something obvious?
    >
    > Zach
     
    Alvin Bruney [MVP], Apr 7, 2004
    #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. Vikramaditya Singh

    adding serial no column in a bounded data grid

    Vikramaditya Singh, Jan 28, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    3,507
    Saravana [MVP]
    Jan 28, 2004
  2. Wayne Deleer

    Adding data to a Grid View programmatically

    Wayne Deleer, Dec 21, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    1,113
    Wayne Deleer
    Dec 22, 2006
  3. Roger Frei

    Adding columns dynamically to data grid

    Roger Frei, Jun 15, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    2,186
    Roger Frei
    Jun 15, 2007
  4. Mark Siffer

    adding validator control to editable data grid at runtime

    Mark Siffer, Jun 21, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    208
    Mark Siffer
    Jun 21, 2004
  5. Vasantha peddireddy

    Adding a href link to a column in a data grid

    Vasantha peddireddy, Aug 23, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    127
    Elton Wang
    Aug 23, 2005
Loading...

Share This Page