I develop C# window application with Microsoft SQL Server 2005 sp3.
My Application has ploblem while one of client save Order Document.
Another client cannot select data from Order table util saving process is complete.
I used Transaction and Isolation=ReadUncommit to save Order Document.
My Application has 3 table is OrderHd, OrderLine and OrderSerial.
Record of OrderSerial per 1 Order Document about 1,000-5,000 record
//My Saving Process
try
{
dbConn.Open();
dbTran = dbConn.BeginTransaction(IsolationLevel.ReadUncommitted);
//1) Save OrderLine
//2) Save OrderSerial
//3) Save OrderHd
dbTran.Commit();
}
exception
{
dbTran.Rollback();
}
finally
{
dbConn.Close();
}
How can I fix this Ploblem ??? _ _"