Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

DetailsView with SqlServer - Update not working

$
0
0

I have a webpage with a DetailsView and a SqlDataSource.  The SqlDataSource was originally pointing to an Access database, and everything was working fine.  Then I pointed the connection to a SqlServer database (.mdf file).  The Select and Delete kept working, but not the Update.  It errored saying it was having a problem with the '?'.  So I used the SqlDataSource designer to change the parameter names from '?' to 'Param1', 'Param2', etc...  Now when I do an update, there's no error thrown, but the update simply does not occur.

Any ideas?


Viewing all articles
Browse latest Browse all 23244

Trending Articles