SHARE
TWEET

Untitled

a guest May 22nd, 2018 134 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.       var d1: System.Nullable<Double>;
  2.       var d2: System.Nullable<Double>;
  3.      
  4.       d1 := new DateTime(2018,5,1).ToOADate;
  5.       d2 := new DateTime(2018,5,18).ToOADate;
  6.  
  7.       try
  8.         var  HistMain := (from apr in fDataModule.DataAdapter.GetTable<aprecon>
  9.                           where ((apr.StartDateTime >= d1) and (apr.StartDateTime <= d2))
  10.                           where (apr.PostDateTime<>0)
  11.                           select apr).ToList;
  12.  
  13.         Console.WriteLine('Recons returned: '+HistMain.Count.ToString);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top