UpdateCommand

Discussion in 'ASP .Net Datagrid Control' started by Matt M., Feb 4, 2004.

  1. Matt M.

    Matt M. Guest

    I would like to have my datagrid's UpdateCommand fire when a user clicks a
    button not in the datagrid. How can I do this?

    Thanks,
    Matt
    Matt M., Feb 4, 2004
    #1
    1. Advertising

  2. Matt M.

    Earl Teigrob Guest

    Can you put all the code for the Update Event into a separate private method
    (possibly overloaded) and call it from the event handlers of both the
    DataGrid Update button and the Form button?

    Earl


    "Matt M." <> wrote in message
    news:...
    > I would like to have my datagrid's UpdateCommand fire when a user clicks a
    > button not in the datagrid. How can I do this?
    >
    > Thanks,
    > Matt
    >
    >
    Earl Teigrob, Feb 4, 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. Mark

    UpdateCommand with Datalist

    Mark, Jul 17, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    2,421
  2. dawn
    Replies:
    1
    Views:
    480
    Daniel Bass
    Jul 28, 2003
  3. Learning SQL Server
    Replies:
    2
    Views:
    2,470
    Learning SQL Server
    Aug 7, 2003
  4. srathin

    DataGrid1 UpdateCommand calling DataGrid2 UpdateCommand

    srathin, Apr 9, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    174
    srathin
    Apr 9, 2005
  5. srathin

    DataGrid1 UpdateCommand calling DataGrid2 UpdateCommand

    srathin, Apr 9, 2005, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    158
    srathin
    Apr 11, 2005
Loading...

Share This Page