Click here to Skip to main content
13,447,006 members (41,806 online)
Rate this:
Please Sign up or sign in to vote.
Hey all,

I'm trying to create a game for myself (and learn to program a bit), and I want to learn how to use SQL queries to get information from a database. I'll use that information to set a custom object's variables.

All I have to do now is:
- create the database.
- learn how to have my program get information from that database.

I've tried searching the web, but I don't really know what to search for...

Please point me in the right direction.

I'm using Visual Basic 2010 Express.
I think I can learn enough about SQL from w3schools.
I want my database to contain the variables for 1499 objects, each object has 20-30 variables. (I still have to figure out how many :P .)

Help would be greatly appreciated!

Thanks for the responses, seems I've got a lot of reading to do.
Posted 20-Jan-13 21:06pm
Updated 20-Jan-13 21:22pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Short answer is: use ADO.NET:[^],[^].

I usually recommend this short by very informative CodeProject article to get started: Using ADO.NET for beginners[^].

Rate this: bad
Please Sign up or sign in to vote.

Solution 3

A long way to travel-
You have to learn about the connection string for database and Data retrieval and processing in .
Its better if you start with, here is an article For beginners-

Using ADO.NET for beginners[^]

I think the above article is enough for beginning, rest you can explore later.

Hope it helps.
Rate this: bad
Please Sign up or sign in to vote.

Solution 4

This link could also be useful for you.

A Beginner's Tutorial for Understanding ADO.NET[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.180318.2 | Last Updated 21 Jan 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100