you have to write dal for create and update and then in BAL write this code
public bool submit(yourClass objectname)
{
using (TransactionScope objScope = new TransactionScope())
{
try
{
youDALClass objdalclass = new youDALClass();
string s = objdalclass .Create(objectname);
bool up = objdalclass .update(objectname);
objScope.Complete();
return true;
}
catch (Exception ex)
{
objScope.Dispose();
throw ex;
}
}
}

Jignesh TrivediRank #16 · 50.3K reputationPosted Jun 28, 2012, 7:48 PM EDT
So what is your question here?
Are you got any error or want share some thing?
Thx.