• Advertisement

Archived

This topic is now archived and is closed to further replies.

Creating Database

This topic is 5033 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, Does anyone know How to Create a Database from nothing, using the Visual c++ .NET, if so please help me and some source will really help...

Share this post


Link to post
Share on other sites
Advertisement
What kind of database? Whose database? Your post doesn''t give enough information for us to help you.

Share this post


Link to post
Share on other sites
Database that represent costumers details, like name, address, phone, etc..., the problem is I don''t know how to start building it, I need a code that shows me how to create a new database file and create a new table, and put there my data...

Share this post


Link to post
Share on other sites
you could use mySQL... it''s pretty easy to use, if you''re willing to read a bit.

if you want to do it from scratch, i canb''t help (because it would take pages and pages).

Share this post


Link to post
Share on other sites
what do you mean.. with C++??

You could use struct:


struct database {
char name[];
int age;
}

database employee;

employee.name = Jan;
employee.age = 19;

etc. etc.

Share this post


Link to post
Share on other sites
No, that''s not what I need, I need to know how to create a new Database like OleDB object or ADO, and know how to use it after creating the Database, I tryed to learn In the MSDN but I didn''t understand from there...

If anyone can guide me or get me a source of how to create a database from a database object like OleDB or ADO I would be very thankful.

by the way I''m using visual c++ .NET.

Share this post


Link to post
Share on other sites

  • Advertisement