Beispiel #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                if (Request.QueryString["act"] == "dsr")
                {
                    DocumentoDAL dDAL = new DocumentoDAL();
                    dDAL.Desarquivar(Convert.ToInt32(Request.QueryString["idDoc"]));

                    Response.Write("<script language='JavaScript'>alert('O Documento foi desarquivado com sucesso');location='ListarDocumentosArquivados.aspx';</script>");
                }
            }
            catch (Exception)
            { throw; }
        }