Useful hints regarding coding in CSharp/.net: Difference between revisions

From OpenPetra Wiki
Jump to navigation Jump to search
(Created page with '== language == === arrays === todo === enums === todo == System.Data == === DataView: filter by date === * see also http://www.csharp-examples.net/dataview-rowfilter/ * dd/MM/yyy…')
 
(No difference)

Revision as of 08:54, 1 September 2009

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 (" +