string date = System.DateTime.Today.ToString("dd/MM/yyyy"); DataTable dtCopyTemplates = drTemplates.CopyToDataTable(); string matching = "LastDate <=" + date ; DataView dv = new DataView(dtCopyTemplates, matching, "", DataViewRowState.CurrentRows);
string matching = "LastDate <= '" + date + "'";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)