This is a Ole Db example using C++ and SQL Server Express.