protected void DeleteLinkButton_Click(object sender, EventArgs e) { MediaBLL.deleteMedia(Photoid); Response.Redirect("Photos.aspx"); }