protected void imgEditar_Click(object sender, ImageClickEventArgs e) { try { Foto.Descricao = txtEditar.Text; Foto.Update(); Response.Redirect(Context.Request.Url.ToString()); } catch (Exception ex) { Glass.MensagemAlerta.ErrorMsg("Falha ao editar foto.", ex, Page); } }