con.Open(); OleDbDataAdapter a = new OleDbDataAdapter("select * from data where date_of_complaint=" + dateTimePicker3.Value.Date + ";", con); DataTable t = new DataTable(); a.Fill(t); dataGridView1.DataSource = t; con.Close();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)