salut tout le monde
svp j´ai un probleme de filtrage entre 2 date par 2 datetimepicker
j´ai mis
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
string Dt_1 = string.Empty;
        string Dt_2 = string.Empty;
        private void QDateEntre_ValueChanged(object sender, EventArgs e)
        {
            try
            {
                Dt_1 = QDateEntre.Value.ToShortDateString();
                //this.method_5(this.QNumero.Text != "", this.juridictions_0 != null, this.QPour.Text != "", this.QComment.Text != "");
                //this.method_3();
            }
            catch (Exception exception)
            {
                ErrorH rh = new ErrorH(ref this.connexion, exception, this);
            }
        }
 
        private void QDateEt_ValueChanged(object sender, EventArgs e)
        {
            try
            {
                Dt_2 = QDateEt.Value.ToShortDateString();
                Partie_2_Requet = "[dbo.Audiences].Pour BETWEEN '" + Dt_1 + "' AND '" + Dt_2 + "´";
                //this.method_5(this.QNumero.Text != "", this.juridictions_0 != null, this.QPour.Text != "", this.QComment.Text != "");
                this.method_3();
merci de bien vouloir me repondre