You can use the SQLCommand object to run the query. An example is here
Dim dbcon As New SQLClient.SQLConnection(connectionstring)
dbcon.Open
Dim dbcmd As New SQLClient.SQLCommand
dbcmd.connection = dbcon
dbcmd.commandtext = "your sql query here"
dbcmd.executenonquery
dbcmd.dispose
dbcon.dispose