none
Can't update/delete/edit a datasource RRS feed

  • General discussion

  • Hi All,

    Am using Visual Web Developer 2008 Express edition.

    I have successfully added a Access data source to my project and can display data from a table OK - no problem. But when I use a Grid View to try and Update/Delete/Edit any of the data I get a 'Server Error' Saying 'No value given for one or more required parameters'. This error occurs if I click ANY of the Update or Delete links on the page generated by the grid view.

    I have checked the connection to the Access database and all seems fine - after all I can just display the data no problem.

    I then created a SQL database in the same project with exactly the same data and Grid View. Now when I click on the Update or Delete links on the page nothing happens ! The page refreshes with no data Deleted or Updated !!

    Am using Windows 7 platform.

    Monday, August 16, 2010 6:59 AM

All replies

  • Do you have a primary key on the table?

    Did you indicate what is the primary key to the gridview?

    Are you answer the rowupdating grid event?

    If possible post the code and the data schema.

    Tks


    What can I do for you?
    Tuesday, July 12, 2011 10:41 AM