protected void btnDelete_Click(object sender, EventArgs e) { String userid = Session["userid"].ToString(); String friendid = ddlFriends.SelectedItem.Value; if (Usr.DeleteFriend(userid, friendid)) { Response.Redirect("default.aspx"); } else { lbl.Text = "Błąd usuwania!"; } }