protected void LoadPhoneNumber() { GridViewPhone.DataSource = ContactInfoDAL.getContactInfo("PhoneNumber", Userid); GridViewPhone.DataBind(); if (GridViewPhone.Rows.Count <= 0) { lblPhoneNumbers.Visible = false; GridViewPhone.Visible = false; } }
protected void LoadWebsites() { GridViewWebsites.DataSource = ContactInfoDAL.getContactInfo("Website", Userid); GridViewWebsites.DataBind(); if (GridViewWebsites.Rows.Count <= 0) { lblWebsitesLabel.Visible = false; GridViewWebsites.Visible = false; } }
protected void LoadOthersEmail() { GridViewEmail.DataSource = ContactInfoDAL.getContactInfo("Email", Userid); GridViewEmail.DataBind(); if (GridViewEmail.Rows.Count <= 0) { lblOthersEmails.Visible = false; GridViewEmail.Visible = false; } }
protected void LoadPhoneNumber() { GridViewPhone.DataSource = ContactInfoDAL.getContactInfo("PhoneNumber", Userid); GridViewPhone.DataBind(); }
protected void LoadWebsites() { GridViewWebsites.DataSource = ContactInfoDAL.getContactInfo("Website", Userid); GridViewWebsites.DataBind(); }
protected void LoadOthersEmail() { GridViewEmail.DataSource = ContactInfoDAL.getContactInfo("Email", Userid); GridViewEmail.DataBind(); }