Visual Basic .NET » Database Programming
Formview delete with ObjectDataSource -- mknaus --


Hi All,

Using asp.net 2.0 with VS2005 standard and a local sql express db.
I have a formview on a pretty simple page.

When I try to delete the currently displayed record in a formview, no arguments are passed to the "delete" method in my data access class.
Arguments are passed for inserts and updates. I read somewhere that this was the expected behavior, but it's not clear to me how to get my delete method to know which record to delete. Thanks.

[Submit Comment]Home