Issue with ASP 2's Table Adapter Wizard

Discussion in 'ASP .Net' started by David, Feb 12, 2007.

  1. David

    David Guest

    I have a SQLExpress database with a table that has a unique index. I
    am creating dataset/Table Adapter using the wizard. THe Wizard creates
    a select and insert commands, but does not create a Update or Delete
    command.

    Is there a way to force the wizard to crate the missing commands? If
    not, can I manually add them to the XSD file without the program
    deleting my additions?

    What I really need is the pass a datarow back to the adapter for
    update.
     
    David, Feb 12, 2007
    #1
    1. Advertising

  2. David

    David Wier Guest

    Does your table have a primary key?

    --
    David Wier
    MVP/ASPInsider
    http://aspnet101.com
    http://aspexpress.com


    "David" <> wrote in message
    news:...
    > I have a SQLExpress database with a table that has a unique index. I
    > am creating dataset/Table Adapter using the wizard. THe Wizard creates
    > a select and insert commands, but does not create a Update or Delete
    > command.
    >
    > Is there a way to force the wizard to crate the missing commands? If
    > not, can I manually add them to the XSD file without the program
    > deleting my additions?
    >
    > What I really need is the pass a datarow back to the adapter for
    > update.
    >
    >
    >
     
    David Wier, Feb 12, 2007
    #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. Brian P. Hammer
    Replies:
    1
    Views:
    430
    RadekP
    Aug 4, 2003
  2. Randy Smith
    Replies:
    0
    Views:
    442
    Randy Smith
    Apr 28, 2005
  3. monika
    Replies:
    0
    Views:
    438
    monika
    Jun 24, 2005
  4. ocean
    Replies:
    0
    Views:
    386
    ocean
    Mar 13, 2006
  5. ocean
    Replies:
    1
    Views:
    539
    =?Utf-8?B?RFdT?=
    Mar 15, 2006
Loading...

Share This Page