프로젝트에 category 추가, 컬럼명을 한글로 변경
This commit is contained in:
@@ -37,6 +37,12 @@ namespace FPJ0000
|
||||
this.cmbProcess.ValueMember = "Value";
|
||||
this.cmbProcess.DataSource = dt_eetproc;
|
||||
|
||||
//분류 - 190903
|
||||
var dt_cate = FCOMMON.DBM.getCodeTable("20");
|
||||
this.cmbCate.DisplayMember = "Value";
|
||||
this.cmbCate.ValueMember = "Value";
|
||||
this.cmbCate.DataSource = dt_cate;
|
||||
|
||||
//공정
|
||||
var dt_status = FCOMMON.DBM.getCodeTable("01");
|
||||
this.cmbState.DisplayMember = "Value";
|
||||
@@ -66,6 +72,7 @@ namespace FPJ0000
|
||||
this.cmbProcess.Text = dr.process;
|
||||
this.cmbState.Text = dr.status;
|
||||
this.cmbPart.Text = dr.part;
|
||||
this.cmbCate.Text = dr.category;
|
||||
|
||||
//신규데이터는 추가정보를 바로 저장할 수 없다.
|
||||
if(dr.RowState == DataRowState.Detached || dr.RowState == DataRowState.Deleted)
|
||||
@@ -97,6 +104,7 @@ namespace FPJ0000
|
||||
this.dr.process = cmbProcess.Text;
|
||||
this.dr.status = cmbState.Text;
|
||||
this.dr.part = cmbPart.Text;
|
||||
this.dr.category = cmbCate.Text;
|
||||
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
|
||||
Reference in New Issue
Block a user