1
Reply

C# Delete database records without SQL text?

Danny

Danny

Aug 5 2006 2:26 PM
1.9k
Hi all,

I need to delete rows from my db, when the criteria is: older than a certain date.
Can it be done without an SQL string query?? Using only a DataSet and/or DataAdapter?

The regular SQL would be: "DELETE FROM EventLog WHERE EL_TimeStamp<01/08/2006".
But the problem is using the date in C# and Access-database.

Thanks in advance,
Danny

Answers (1)