VB.net 2005 and database

M

Maileen

Hi,

I've created a small application which should create a DB in different
plaftforms like MS SQL 2000 and PostgreSQL.

First i perform a simple test to see if user enter correct connection
string.
if it works, so i have a simple SQL statement like "create database DBTest;"

so, i create a command, using odbcCommand.
and after i connect this command to my odbcconnection.
so i open connection, use odbcCommand.ExecuteNONQuery and close
connection....
but when application arrives on line where is ExecuteNonQuery, it freeze
and timeout is overpass.

So, where can be the problem ?
does someone have an example ?
thanks a lot,
Maileen
 

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

Top