It looks like you're new here. If you want to get involved, click one of these buttons!
BindingSource bs = new BindingSource(); bs.DataSource = dgvmember.DataSource; bs.Filter = dgvmember.Columns.HeaderText.ToString() + " LIKE '%" + dtpsdate.Text + "%'"; dgvmember.DataSource = bs;
i have 1 datepicker
1 gridview & 1 button
i used this for searching Entry_date from datepicker in to datagridview
but i got error "Cannot perform 'Like' operation on System.DateTime and System.String."
see attched screenshot.
help me please.