Esempio n. 1
0
 private void LoadDiaDanh()
 {
     cboDiaDanh.DisplayMember = "TenDiaDanh";
     cboDiaDanh.ValueMember   = "ID";
     cboDiaDanh.DataSource    = TinhTienTheoKm.GetAllDiaDanh();
 }
Esempio n. 2
0
 private void LoadDiaDanh()
 {
     gridDiaDanhKm.DataMember = "listDiaDanh";
     gridDiaDanhKm.SetDataBinding(TinhTienTheoKm.GetAllDiaDanh(), "listDiaDanh");
 }