private void Frm_Inicial_Load(object sender, EventArgs e) { DAOacao ac = new DAOacao(); dtg_tarefas.DataSource = ac.Lista_Data(Convert.ToDateTime(txt_data.Text)); //timer1.Enabled = true; //this.reportViewer1.RefreshReport(); }
private void txt_data_ValueChanged(object sender, EventArgs e) { DAOacao ac = new DAOacao(); dtg_tarefas.DataSource = ac.Lista_Data(Convert.ToDateTime(txt_data.Text)); }