private void acceptBtn_Click(object sender, EventArgs e) { Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_Vt"] = this.mavtLUE.Text; Gridview.GetDataRow(Gridview.FocusedRowHandle)["Gia"] = this.giaTE.Text; if (isAdd) { Gridview.UpdateCurrentRow(); } this.Close(); }
private void acceptBtn_Click(object sender, EventArgs e) { Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ten_kho"] = tenkhoTE.Text; Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_Kho"] = makhoTE.Text; Gridview.GetDataRow(Gridview.FocusedRowHandle)["Stt"] = sttTE.Text; if (isAdd) { Gridview.UpdateCurrentRow(); } Close(); }
private void acceptBtn_Click(object sender, EventArgs e) { //Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_Nvu"] = this.manvuTE.Text; //Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ten_Nvu"] = this.tennvuTE.Text; //Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_Ct"] = this.mactTE.Text; //Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_Ct_Rule"] = this.mactruleTE.Text; //Gridview.GetDataRow(Gridview.FocusedRowHandle)["Tk_No"] = this.tknoTE.Text; //Gridview.GetDataRow(Gridview.FocusedRowHandle)["Tk_No_Rule"] = this.tknoruleTE.Text; //Gridview.GetDataRow(Gridview.FocusedRowHandle)["Tk_Co"] = this.tkcoTE.Text; //Gridview.GetDataRow(Gridview.FocusedRowHandle)["Tk_Co_Rule"] = this.tkcoruleTE.Text; if (isAdd) { Gridview.UpdateCurrentRow(); } this.Close(); }
private void acceptBtn_Click(object sender, EventArgs e) { Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_Dt"] = this.madtTE.Text; Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ten_Dt"] = this.tenTE.Text; Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_Nh_Dt"] = this.manhdtLUE.EditValue; Gridview.GetDataRow(Gridview.FocusedRowHandle)["Cong_Ty"] = this.ctyTB.Text; Gridview.GetDataRow(Gridview.FocusedRowHandle)["Dia_Chi"] = this.diachiTB.Text; Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_So_Thue"] = this.msthueTE.Text; Gridview.GetDataRow(Gridview.FocusedRowHandle)["So_Tk_NH"] = this.tknhTE.Text; Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ten_NH"] = this.tennhTB.Text; Gridview.GetDataRow(Gridview.FocusedRowHandle)["So_Phone"] = this.sdtTE.Text; if (isAdd) { Gridview.UpdateCurrentRow(); } this.Close(); }
private void acceptBtn_Click(object sender, EventArgs e) { this.Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_Vt"] = this.txtMaVT.Text; this.Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ten_Vt"] = this.txtTenVT.Text; this.Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_Nh_Vt"] = this.manhdtLB.Text; this.Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_Kho"] = this.txtDmaKho.Text; this.Gridview.GetDataRow(Gridview.FocusedRowHandle)["Dvt"] = this.txtDonVi.Text; this.Gridview.GetDataRow(Gridview.FocusedRowHandle)["Tk"] = this.txtTkVT.Text; //this.Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ngay_Begin"] = this.txtBdate.Text; //this.Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ngay_End"] = this.txtEdate.Text; this.Gridview.GetDataRow(Gridview.FocusedRowHandle)["Create_Log"] = this.txtCreateLog.Text; this.Gridview.GetDataRow(Gridview.FocusedRowHandle)["LastModify_Log"] = this.txtLstModify.Text; this.Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ghi_Chu"] = this.txtGhichu.Text; if (isAdd) { Gridview.UpdateCurrentRow(); } this.Close(); }