Hudzilla Coding Academy: Project Eight
Sep 22, 2009, 06:02 (0 Talkback[s])
How to Help Your Business Become an AI Early Adopter
"it is strongly recommended that you have already completed
Project 7: FoxySearch before starting this one, because a lot of
theory is shared.
"With that out of the way, let's begin!
"Create a new MonoDevelop console project and call it Questions.
From the Solution pane, right-click on References then choose Edit
References - as with the FoxySearch project, you need to add a
reference to Mono.Data.Sqlite to enable all the functionality for
working with SQLite databases.
"The first thing our app needs to do is connect to the database,
creating it if doesn't already exist. What's more, we're going to
seed the database with a simple question that gets the game going.
Whereas before, we were just working with Firefox's table layout,
we now need to make our own table based on what we need. There are
all sorts of ways you could make this, but we're going to shoot for
something that's very easy to understand - our table will store the