Connect to SQL database in Visual C++ 2010

str82no1 used Ask the Experts™
Hello experts,

I'm new to Visual C++ and I was wondering how can I establish a connection between a Windows Forms Application and a SQL server using the MS provided libraries. Can you post an example? Thanks ;).
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial