UpdateCommand in ASP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Giovanni

    #1

    UpdateCommand in ASP

    Hi, I'm new in vs2k8 and I'm trying to build up an ASP application that
    uses a DB.

    Situation:
    2 tables related by a key (pk->fk).
    A Gridview on a web page that show me the 2 tables join query's result.
    In grid's properties I wanted to show edit, delete and update links.

    Problem:
    When I edit the grid and I click update, i get an error:
    "L'aggiornament o non รจ supportato dall'origine dati 'GestioneClient i' a
    meno che non si specifichi UpdateCommand. "
    That should be
    "Update not supported by datasource "GestioneClient i", unless you
    specify an UpdateCommand."


    What's UpdateCommand? Where can I implement it to update both tables?
    Have I to use a transaction? Can you suggest me some link, or bite of code?


    Tnx in advance, Giovanni
Working...