Exemplo n.º 1
0
 public string GetQuocGia(object ma)
 {
     string ret = "";
     try
     {
         TblQuocGia tblQG = new TblQuocGia(ma);
         ret = tblQG.Rows[0]["TEN"].ToString();
     }
     catch (Exception ex)
     {
         TLog.WriteErr("TTblNCC:GetQuocGia", ex.Message);
     }
     return ret;
 }
Exemplo n.º 2
0
        public string GetQuocGia(object ma)
        {
            string ret = "";

            try
            {
                TblQuocGia tblQG = new TblQuocGia(ma);
                ret = tblQG.Rows[0]["TEN"].ToString();
            }
            catch (Exception ex)
            {
                TLog.WriteErr("TTblNCC:GetQuocGia", ex.Message);
            }
            return(ret);
        }
Exemplo n.º 3
0
 public void LoadQG()
 {
     try
     {
         tblQG = new TblQuocGia();
         cmb_QG.DataSource = tblQG;
         cmb_QG.DisplayMember = "TEN";
         cmb_QG.ValueMember = "MAQG";
     }
     catch (Exception ex)
     {
         TLog.WriteErr("frmNCC_LOADQG", ex.Message + "|" + ex.StackTrace);
     }
 }