The correct driver name is "Provider = SQLNCLI" for dot net native driver for sql server.
Instead of using connection string, put directly in the open() method.
con.Open("Provider = SQLNCLI;Data Source = myserver; Database=mydb;", "user", "password")
Please use this and let me know if you have a problem ... Thanks.
True Love is Like A Ghost. Everyone Talks About It & Nobody have seen it.