Delete row

P

PawelR

Hello Group,
In my apps I connect to MS Access database (*.mdb) and read one table (all
column). How delete all rows in *.mdb from this table.
thx
PawelR
 
A

Alan Pretre

PawelR said:
In my apps I connect to MS Access database (*.mdb) and read one table (all
column). How delete all rows in *.mdb from this table.

Just execute the SQL statement "DELETE FROM tablename" using the ADO.NET
function System.Data.SqlClient.SqlCommand.ExecuteNonQuery().

-- Alan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Update Table in Access 2
Prevent row high 2
Sort in dataSet 1
HttpWebRequest method POST 3
Set application version 2
Binding int to textBox 2
Constant Column in string format 2
String Format 1

Top