OLEDBを使用して日時ピッカーを使用してExcelファイルをクエリしていますが、Cireria式エラーでデータ型の不一致が発生し続けます。
日付のExcelの形式は「2012年6月8日10:00」です。
DateTime time = dateTimePicker1.Value;
MyCommand = new OleDbDataAdapter("select * from [CR$] where ([Req Start Date] >='" + time + "')", MyConnection);
DtSet = new System.Data.DataSet();
MyCommand.Fill(DtSet);
bindingSource1 = new BindingSource();
bindingSource1.DataSource = DtSet;
bindingSource1.DataMember = DtSet.Tables[0].TableName;
dataGridView1.DataSource = bindingSource1;
MyConnection.Close();