Ejemplo n.º 1
0
 protected void lnkDelete_Click(object sender, EventArgs e)
 {
     if (!ddlCompanyAffil.SelectedItem.Text.Equals("--Select--"))
     {
         Guid Val = Guid.Parse(ddlCompanyAffil.SelectedItem.Value);
         ManageUserSVC.ManageUserClient Client = new ManageUserSVC.ManageUserClient();
         Client.DeleteCompanyAffilation(Val);
         AffilationBind();
         lblSuccess.Visible = false;
     }
     else
     {
         pnlCompantyAffil.Visible = false;
         lblSuccess.Text          = "Please Select Company Name to Delete";
     }
 }