2
Answers

date n time picker

ta mu

ta mu

10y
1k
1
i am using this code

  SqlDataAdapter da = new SqlDataAdapter("Select * from addcustomer Where date=>" + dateTimePicker1.Value + "AND date=<" + dateTimePicker2.Value + " ", my);
  da.Fill(dt);
  dataGridView1.DataSource = dt.DefaultView;



getting error

Incorrect syntax near '>'.

whats wrong
Answers (2)
Next Recommended Forum