Hi,
You can add your validation in save and add button click event.
private void SaveButton_Click(System.Object sender,
System.EventArgs e)
{
if (validation() == true)
{
TableAdapterName.Update(DataSetName.TableName);
}
}
public bool validation()
{
...
}
Some useful information about BindingNavigator Control:
http://msdn.microsoft.com/en-us/library/safa4957(VS.80).aspx
Best regards,
Ling Wang
Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.