Create a Database in vs2003.net for smartphone ?

 I'm fresh ,I want to create a database project ,including copy, create etc,but I didn't know how to create it ,anyone who know it can give me an example about creating a database using vc++,your kind help will be appreciated!



Answer this question

Create a Database in vs2003.net for smartphone ?

  • loumposa

    Hi,

    As far as the latter error are concerned I think you need a #include<iostream>. Besides use std::cout as it is defined in std namespace.

    Thanks



  • Dmano

    Hi,
    You can use the CEDB class to create,copy and delete database. I hope the following links will help you.
    http://www.developer.com/net/cplus/article.php/3327171



  • Annand

    hi ,SaravananVV

    Thank you for you suggestion,but I have servral question :

    first ,if I want to creat serveral tables in the same database, as I know ,there is no APi in CEDB class to support it , how can I do to create table ,if it can't do it like this , what else ways can choose (for example SQL)

    second because I am fresh ,I didn't know the basic syntax using in the application dev,

    for example :I read the expression in some books:cout<<_T("");

    it will send such erro message like this :

    G:\database2\CertDataBase.cpp(53) : error C2065: 'cout' : undeclared identifier
    G:\database2\CertDataBase.cpp(53) : error C2297: '<<' : illegal, right operand has type 'unsigned short [1]'
    Error executing clarm.exe.

    would you give some useful information about such praoblem.

    please help me , thank you very much,thank you again


  • Create a Database in vs2003.net for smartphone ?