database query : add with(nolock)
This commit is contained in:
@@ -319,17 +319,18 @@ namespace FEQ0000
|
||||
}
|
||||
|
||||
this.Text = $"데이터 입력중({itemCount}/{totalcnt})";
|
||||
System.Threading.Thread.Sleep(500);
|
||||
if (itemCount % 10 == 0) System.Windows.Forms.Application.DoEvents();
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (crmode == eImporttype.CR)
|
||||
taCR.Update(this.dsPRJ.EETGW_PurchaseCR);
|
||||
else if (crmode == eImporttype.NR)
|
||||
taNR.Update(this.dsPRJ.Purchase);
|
||||
else if (crmode == eImporttype.EB)
|
||||
taEB.Update(this.dsPRJ.EETGW_PurchaseEB);
|
||||
//if (crmode == eImporttype.CR)
|
||||
// taCR.Update(this.dsPRJ.EETGW_PurchaseCR);
|
||||
//else if (crmode == eImporttype.NR)
|
||||
// taNR.Update(this.dsPRJ.Purchase);
|
||||
//else if (crmode == eImporttype.EB)
|
||||
// taEB.Update(this.dsPRJ.EETGW_PurchaseEB);
|
||||
|
||||
dsPRJ.AcceptChanges();
|
||||
FCOMMON.Util.MsgI("Save OK");
|
||||
|
||||
Reference in New Issue
Block a user