ta mu

ta mu

  • NA
  • 201
  • 82.2k

date n time picker

Aug 25 2013 3:17 AM
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)