database query : add with(nolock)
This commit is contained in:
@@ -934,6 +934,7 @@
|
||||
this.fpSpread1.StatusBarVisible = true;
|
||||
this.fpSpread1.TabIndex = 4;
|
||||
this.fpSpread1.EditModeOff += new System.EventHandler(this.fpSpread1_EditModeOff);
|
||||
this.fpSpread1.CellClick += new FarPoint.Win.Spread.CellClickEventHandler(this.fpSpread1_CellClick);
|
||||
//
|
||||
// fpSpread1_Sheet1
|
||||
//
|
||||
|
||||
@@ -1491,5 +1491,10 @@ namespace FEQ0000
|
||||
ta.PurchaseDataToItemsNR(FCOMMON.info.Login.gcode);
|
||||
FCOMMON.Util.MsgI("업데이트 완료");
|
||||
}
|
||||
|
||||
private void fpSpread1_CellClick(object sender, FarPoint.Win.Spread.CellClickEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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