Useful hints regarding coding in CSharp/.net

From OpenPetra Wiki
Jump to navigation Jump to search

language

arrays

todo

enums

todo

System.Data

DataView: filter by date

           return new DataView(ATable, "((" + PPartnerLocationTable.GetDateEffectiveDBName() + " <= #" + DateTime.Now.Date.ToString(
                   "yyyy-MM-dd") + "# OR " + PPartnerLocationTable.GetDateEffectiveDBName() + " IS NULL) AND (" +