Israel

Israel

  • 700
  • 1.3k
  • 217.6k

Two dates for my reportviewer

Nov 22 2014 10:29 AM
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)