When I filter some value by an textbox it the first page goes well ofc but the moment that I change to the second page it kinda refreshs and Give me all values again... Codebehind:
 protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["Nome"] == null)
            {
                Response.Redirect("Login.aspx");
            }
            if (!Page.IsPostBack)
            {
                bindgrid();
            } 
        }
        private void bindgrid()
        {
            SqlConnection con = new SqlConnection();
            con.ConnectionString = ConfigurationManager.ConnectionStrings["ConStr1"].ToString();
            con.Open();
            SqlCommand cmd = new SqlCommand();
            cmd.CommandText = "Select * from [Movimentos]";
            cmd.Connection = con;
            DataSet ds = new DataSet();
            SqlDataAdapter da = new SqlDataAdapter(cmd);
            da.Fill(ds);
            Sqldata.DataSource = ds;
            Sqldata.DataBind();
        }
        protected void Button1_Click(object sender, EventArgs e)
        {
            void bindgrid()
            {
                SqlConnection con = new SqlConnection();
                con.ConnectionString = ConfigurationManager.ConnectionStrings["ConStr1"].ToString();
                con.Open();
                SqlCommand cmd = new SqlCommand();
                cmd.CommandText = "Select * from [Movimentos]";
                cmd.Connection = con;
                DataSet ds = new DataSet();
                SqlDataAdapter da = new SqlDataAdapter(cmd);
                da.Fill(ds);
                Sqldata.DataSource = ds;
            }
        }
        protected void Sqldata_PreRender(object sender, EventArgs e)
        {
            Label1.Text = "Mostrando a página " + (Sqldata.PageIndex + 1).ToString() + " de " + Sqldata.PageCount.ToString();
        }
        protected void Sqldata_PageIndexChanging(object sender, GridViewPageEventArgs e)
        {
                Sqldata.PageIndex = e.NewPageIndex;
                Sqldata.DataSource = (SqlDataSource1);
                SqlDataSource1.DataBind();
        }
        protected void ButnPesquisar_Click(object sender, EventArgs e)
        {
            string filter = "";
            string command = "SELECT * FROM Movimentos WHERE";
            if (textDataMovimento.Text != "")
            {
                filter = filter + "  [Data Movimento] LIKE '%" + textDataMovimento.Text + "%' AND";
            }
            if (TextDataValor.Text != "")
            {
                filter = filter + " [Data Valor] LIKE '%" + TextDataValor.Text + "%' AND";
            }
            if (TextDescricao.Text != "")
            {
                filter = filter + " [Descrição] LIKE '%" + TextDescricao.Text + "%' AND";
            }
            if (TextValor.Text != "")
            {
                filter = filter + " [Valor] LIKE '%" + TextValor.Text + "%' AND";
            }
            if (textTipodeMovimento.Text != "")
            {
                filter = filter + " [Tipo de Movimento] LIKE '%" + textTipodeMovimento.Text + "%' AND";
            }
            if (filter.Length > 0)
            {
                Sqldata.DataSource = SqlDataSource1;
                string FinalFilter = filter.Remove(filter.Length - 3);
                SqlDataSource1.SelectCommand = command + FinalFilter;
                Sqldata.DataBind();
            }
            else
            {
                Sqldata.DataBind();
            }
        }
Any solution? I wasn't able to find any answers cause it looks like no one is using multi textbox's to filter... I Think that's something about the databind right? I tried to take remove change to anothers place but didnt work
