Пример #1
0
 protected void LoadPhoneNumber()
 {
     GridViewPhone.DataSource = ContactInfoDAL.getContactInfo("PhoneNumber", Userid);
     GridViewPhone.DataBind();
     if (GridViewPhone.Rows.Count <= 0)
     {
         lblPhoneNumbers.Visible = false;
         GridViewPhone.Visible   = false;
     }
 }
Пример #2
0
 protected void LoadPhoneNumber()
 {
     GridViewPhone.DataSource = ContactInfoDAL.getContactInfo("PhoneNumber", Userid);
     GridViewPhone.DataBind();
 }