Hi Mithun,
Create an Action to the custom BO and write your code there. Create an event handler that calls BOAction, bind your action and assign this event to OnClick property. You will find this property in Property explorer when you select Update Data button. Hope this clarifies.
Regards
Jagathshree.