Managing power losses in c# application

Oct 3 2012 5:12 AM
Hi

I had developed one application in c# with sql server database. It's a billing system.I had store customer details in customer table and his bill items should be stored in bill_item tables.
This application work finely but when power loss in bill generation, only the customer information is stored and bill_items are not stored. Can any one give suggestions how can i manage this problem


Thanks&advace