private void ListarUsuario()
        {
            Int32 estado = 0;

            if (chksuc.Checked == true)
            {
                estado = 1;
            }
            else if (chksuc.Checked == false)
            {
                estado = 0;
            }

            String input       = TxtBuscarG.Value;
            String pattern     = " ";
            String replacement = "%";
            String result      = Regex.Replace(input, pattern, replacement);

            DataTable dt  = new DataTable();
            Usuario   OBJ = new Usuario();

            GvApp.DataSource = OBJ.ListarUsuarioApp(Convert.ToInt32(Request.Cookies["WebNestle"]["DLIdEmpresaMaster"]), estado, result.ToString(),
                                                    Convert.ToInt32(DDTipo.SelectedValue));
            GvApp.DataBind();
        }
 protected void BtnAtualizar_Click(object sender, EventArgs e)
 {
     GvApp.DataBind();
 }
 protected void BtnCancelar_Click(object sender, EventArgs e)
 {
     GvApp.DataBind();
     LimparTextos();
 }
 protected void BtnRemove_Click(object sender, EventArgs e)
 {
     RemoveAplicacao();
     GvApp.DataBind();
     LimparTextos();
 }
 protected void BtnEdit_Click(object sender, EventArgs e)
 {
     EditAplicacao(TxtNome.Text, TxtDesc.Text, TxtData.Text, DdlStatus.Text, TxtEmail.Text);
     GvApp.DataBind();
     LimparTextos();
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     GvApp.DataBind();
 }