protected void Button15_Click(object sender, EventArgs e) { List <CompanyQualification> lstQualification = CompanyQualifications.GetCompanyQualifications(1); foreach (CompanyQualification qualification in lstQualification) { HyperLink hp = new HyperLink(); hp.NavigateUrl = qualification.Url; hp.Text = qualification.QualificationName; phLinks.Controls.Add(hp); } }
void BindQualify() { btnEdit.Visible = false; if (!string.IsNullOrEmpty(_postback)) { btnBack.PostBackUrl = _postback; } else { btnBack.Visible = false; } int comId = int.Parse(Request.QueryString["ID"]); egvQualify.DataSource = CompanyQualifications.GetCompanyQualifications(comId); egvQualify.DataBind(); }