S Stephen Muecke Jul 14, 2003 #2 You need to create a SQLCommand and use the .CommandText property (a SQL statement or the name of a Strored Procedure) eg Dim myCommand as New SQLCommand With myCommand .Connection = <your SQLConnection> .CommandText = "DELETE ..... FROM yourTableName WHERE ..." End With myCommand.ExecuteNonQuery Stephen
You need to create a SQLCommand and use the .CommandText property (a SQL statement or the name of a Strored Procedure) eg Dim myCommand as New SQLCommand With myCommand .Connection = <your SQLConnection> .CommandText = "DELETE ..... FROM yourTableName WHERE ..." End With myCommand.ExecuteNonQuery Stephen