Exemplo n.º 1
0
 protected void ExcluirBanner(int i)
 {
     bll = new classeBLL();
     try
     {
         bll.ExcluiBanner((string)Session["Usuario"], i);
         Page.Response.Redirect("cadastro_empresa.aspx");
     }
     catch (Exception ex)
     {
         bll.EnviarErros(ex.Message.ToString());
     }
 }