How can I cancel deleting ?
I work in VS 2005.
I want to create data-bound application with SQL Server 2000.
I've created data-bound controls on the form by dragging my node from the Data Sources window onto the form.
BindingNavigator control was created too. It works good.
But I want to change work of his button DeleteItem.
I want before deleting item to ask ("Are you shure ?") and if answer "No" to cancel deleting.
I want to do it in Click event of button DeleteItem.
Help me please.
I'm sorry for my english.
|