I am facing the problem to access database,how can i use ado to access access database? i am using visusal c++ 2010 and access 2003
can an开发者_JAVA百科yone tell me to the simple procedure for this ? thank you
No, because there is no "simple" procedure.
There is an example here: http://msdn.microsoft.com/en-us/library/ff965871.aspx#DataProgrammingWithAccess2010_ADOExample although you might need to change the version numbers to use Access 2003. That page also has a bunch of information about other database APIs, some of which may be easier to use from C++. And by easier, I mean tearing-your-hair-out difficult instead of jumping-off-a-cliff difficult.
精彩评论