VC++ and SQL
-
I writting a project using MFC and I need to connect to a (SQL server) but I don't know how to do it in VC++ :confused: so I need to know the object I need and how to use them. one Byte can hold some information but not all MR.Byte
there are many ways for database conectivity in VC++ , eg ADO, DAO, etc. ADO is a COM based solution and is more efficient than other technique. ...U have to create a DSN name for this bu using ODBC.....Go to control Panel and Find "Data Sources (ODBC)" , it would help u in creating DSN Name... Now in MSDN Help find "ADO" the microsoft gang has already provided the sample code for this....;P
-
I writting a project using MFC and I need to connect to a (SQL server) but I don't know how to do it in VC++ :confused: so I need to know the object I need and how to use them. one Byte can hold some information but not all MR.Byte
You probably find the ADO does everything you'll need. There are some good wrapper classes on CodeProject. http://www.codeproject.com/database/ Michael :-)