I need to acccess VFP data from C# code. the table I am accessing has a date field. But C# has DateTime only. How do I go about this?
Here is a query:
SELECT dinvoice, nftotpaid + nftotdisc + nftotadj + nftotdebt + nfbalance AS Amt
WHERE dinvoice BETWEEN ? StartDate AND ? EndDate
FROM arinvc
BTW, ? mark is not taken either.
What is the correct syntax?
Thanks