Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Sep 12, 2010 01:09 AM by PeteNet
Sep 12, 2010 12:44 AM|LINK
I hope to delete all records in DBPrograms, is the following code correct?
DBContext db = DBContext(PublicDBPar.ConnectionString);
Sep 12, 2010 01:09 AM|LINK
that should work.
dc.ExecuteCommand("DELETE from TableName");
replace 'TableName' with your table name
Here's a good read: