..
This commit is contained in:
@@ -24,7 +24,10 @@ namespace FCM0000
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
// TODO: 이 코드는 데이터를 'dsMSSQL.Staff' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다.
|
||||
|
||||
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
|
||||
refreshData();
|
||||
refreshDataS();
|
||||
|
||||
@@ -37,20 +40,22 @@ namespace FCM0000
|
||||
e.Row["wuid"] = FCOMMON.info.Login.no;
|
||||
e.Row["wdate"] = DateTime.Now;
|
||||
e.Row["cid"] = selcectIDX;
|
||||
e.Row["gcode"] = FCOMMON.info.Login.gcode;
|
||||
}
|
||||
|
||||
void Customs_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||
{
|
||||
e.Row["wuid"] = FCOMMON.info.Login.no;
|
||||
e.Row["wdate"] = DateTime.Now;
|
||||
e.Row["grp"] = "Supply";
|
||||
e.Row["grp"] = "Supply";
|
||||
e.Row["gcode"] = FCOMMON.info.Login.gcode;
|
||||
}
|
||||
|
||||
void refreshData()
|
||||
{
|
||||
try
|
||||
{
|
||||
this.ta.Fill(this.dsMSSQL.Customs);
|
||||
this.ta.Fill(this.dsMSSQL.Customs,FCOMMON.info.Login.gcode);
|
||||
// this.taStaff.Fill(this.dsMSSQL.Staff);
|
||||
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize1);
|
||||
|
||||
@@ -64,7 +69,7 @@ namespace FCM0000
|
||||
try
|
||||
{
|
||||
// this.ta.Fill(this.dsMSSQL.Customs);
|
||||
this.taStaff.Fill(this.dsMSSQL.Staff);
|
||||
this.taStaff.Fill(this.dsMSSQL.Staff, FCOMMON.info.Login.gcode);
|
||||
FPUtil.ColSizeLoad(ref this.fpSpread2, fn_fpcolsize2);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
Reference in New Issue
Block a user