Does anyone know a template for connecting to SQL server from C++. It appears to be ODBC but I can't get the exact information I need to locate a database. I have done this in asp.net to Access and php to mysql so the concept is nothing new. Also have the sqlapi installed.