Esempio n. 1
0
        private void LoaiHopDong_Load(object sender, EventArgs e)
        {
            ResetInterface(true);
            dtDSLoaiHopDong = oLoaiHopDong.GetList();
            if (dtDSLoaiHopDong != null)
            {
                PrepareDataSource();
                EditDtgInterface();
            }

            //foreach (DataGridViewRow row in dtgv_DSLoaiHD.Rows)
            //{
            //    if (row.Cells[3].Value.ToString() == "False")
            //        row.Cells[3].Value = "Bien che";
            //}
        }
Esempio n. 2
0
 /// <summary>
 /// Refresh Data Source cho dtg sau moi lan thao tac
 /// </summary>
 private void RefreshDataSource()
 {
     Business.HDQD.LoaiHopDong loaihd = new Business.HDQD.LoaiHopDong();
     dtDSLoaiHopDong = loaihd.GetList();
     PrepareDataSource();
 }
Esempio n. 3
0
        /// <summary>
        /// Refresh Data Source cho dtg sau moi lan thao tac
        /// </summary>
        private void RefreshDataSource()
        {
            Business.HDQD.LoaiHopDong loaihd = new Business.HDQD.LoaiHopDong();
            dtDSLoaiHopDong = loaihd.GetList();
            PrepareDataSource();

        }