Hi rai, you should use Transactions. Please see LLBLGenPro Help - Using the generated code - Adapter - Transactions.
Now, as you are using an object to perform the save,
StreetSaleRcpt.Save(savestreetentity);
you have to do one of the following options:
A. Collect all the entities you have to save, pass them to your StreetSaleRcpt.Save method and manage the transaction inside that method, or save the whole Collection (adapter.SaveEntityCollection start a transaction implicit).
B. Make an overload of your method that receive an DataAccessAdapter object. That object will be used inside to grab the objects. Outside you could start/end/rollback the transaction.
By the way...
foreach (DataRow r in StSales.Rows)
{
EntityCollection checkrecords = StreetSaleRcpt.GetCustomerReturns(ddlCustomer.SelectedItem.ToString);
...
Why do you do this way? Shouldn't be better if you call this method outside the loop?
Cheers.