1
Answer

Two dates for my reportviewer

Israel

Israel

9y
600
1
Hi!

With this line of codes I can make filter to research my clientes for example in my report:


private void searchCliente_Click(object sender, EventArgs e)
        {
            thisClienteTableAdapter.Fill(this.ClienteDS.Cliente, txtPreviewCliente.Text);
            this.reportViewer1.RefreshReport();
        }


Then what I need to learn. How can I make filter between two dates in the same line. See what I tryed to do but its doesnt works:

 thisClienteTableAdapter.Fill(this.ClienteDS.Cliente, + dataStartCliente.Text + " and " dataEndCliente.Text);
            this.reportViewer1.RefreshReport();
Answers (1)