Ejemplo n.º 1
0
 private void BindTxtCompany()
 {
     if (base.UserProfile.MemberType == 2)
     {
         var biz            = new BLL.DataCenterBiz();
         var getCompanyName = biz.GetDefaultcompanyName(base.UserProfile.CompCode);
         if (getCompanyName.DataResponse.Tables[0].Rows.Count > 0)
         {
             DataRow drComName = getCompanyName.DataResponse.Tables[0].Rows[0];
             txtCompany.Text    = drComName["comName"].ToString();
             txtCompany.Enabled = false;
         }
     }
 }