private void lbSynch_Click(object sender, EventArgs e) { int LogId = Ldap.Synchronize(SetId); Response.Redirect("~/Admin/LdapLogView.aspx?LogId=" + LogId); }