Home All Groups Group Topic Archive Search About
Author
27 Feb 2007 6:24 PM
Chris
1. Where would I find the code where the delete action takes place?  C#
automatically placed this binding navigator on my form and I see no code for
where it deletes a record.

I want to add a messagebox to confirm before allowign the delete.


Thank you!
Sometimes I wish I stuck with VB 6.0.

Author
28 Feb 2007 6:11 PM
RobinS
Open the designer code. Click on ShowAllFiles in the Solution Explorer,
then open the myForm.Designer.cs file.

You can override it; just double-click on the delete icon and it will
create an event procedure for you, and you can put your messagebox in
there, then if they say ok, you can do whatever the one in the designer
does.

Robin S.
-------------------------------------------
Show quote
"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:8B8809E6-3732-40EB-8A24-C9588B0F2281@microsoft.com...
> 1. Where would I find the code where the delete action takes place?  C#
> automatically placed this binding navigator on my form and I see no code
> for
> where it deletes a record.
>
> I want to add a messagebox to confirm before allowign the delete.
>
>
> Thank you!
> Sometimes I wish I stuck with VB 6.0.
>
>

AddThis Social Bookmark Button