简体   繁体   中英

SQL Server database in a Visual C++ application

I have to create a application in Visual C++ which accesses a SQL database, selects and inserts data.

I know it is very easy in C# but it has to be written in C++. I prefer to use MS SQL Server 2012 because it is the only DBMS I know. Also I have to use Visual Studio.

Could you please tell me what is the best way to deal with this problem? I need a relatively easy way because I'm not an experienced programmer.

what kind of visual c++ do you want use? if you use .Net you can use ADO.Net http://msdn.microsoft.com/en-us/library/9ctka9db.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM