01.
this
.toolStripStatusLabel1.Text =
"Data Updating..."
;
02.
dbAcc.Execution(strSQL);
03.
if
(dbAcc.errMsg ==
string
.Empty)
04.
{
05.
this
.toolStripStatusLabel1.Text =
"Data Updated..."
;
06.
MessageBox.Show(
"ปรับเปลี่ยนข้อมูลเสร็จเรียบร้อยแล้ว"
,
"Success"
, MessageBoxButtons.OK, MessageBoxIcon.Information);
07.
strSQL =
"SELECT * FROM Employee WHERE e_id = '"
+ detail_e_id +
"'"
;
08.
dsEmpDetial.Clear();
09.
dbAcc.Execution(dsEmpDetial, strSQL,
"Employee"
);
10.
this
.setDetail();
11.
}