You play as a new Pokémon Trainer, you are given a Pokedex to: discover and collect new Pokémon, view Pokemon Stats, Pokémon Types, and retrieve data from previously collected Pokemon.
Example of the database schema and values used in the project:

- Language: C#
- Framework .Net 9.0 (Windows Forms)
- Database: SQL Server ('PokedexDB')
-
Download zip file in the repository or clone the repository.
-
Open the solution file "(
.sln)" in Visual Studio. -
Ensure you have the required .NET 9.0 installed.
-
Database Setup (Choose one of the following options):
LocalDB is included with Visual Studio and doesn't require a separate SQL Server installation.
-
Enable LocalDB (if not already enabled):
- Open Visual Studio Installer
- Modify your Visual Studio installation
- Under "Individual components", ensure "SQL Server Express 2019 LocalDB" is checked
- Install if needed and restart Visual Studio
-
Create and Setup the Database with Pokemon Data:
- Open SQL Server Object Explorer in Visual Studio (View → SQL Server Object Explorer)
- Expand "(localdb)\MSSQLLocalDB"
- Right-click on "(localdb)\MSSQLLocalDB" → New Query
- Copy and paste the entire contents of
team-docs/PokedexDatabase.sqlinto the query window (This ensures that the code will run in this database) - Execute the script (Ctrl+Shift+E or click Execute button)
- This will create the PokedexDB database, all tables, and populate with 15 Pokemon
- Download and install SSMS (SQL Server Management Studio) if not already installed
- Connect to server:
(localdb)\MSSQLLocalDB - Open the
team-docs/PokedexDatabase.sqlfile in SSMS - Execute the script (F5 or click Execute button)
-
Verify the Setup:
- In SQL Server Object Explorer, expand "(localdb)\MSSQLLocalDB" → Databases
- You should see "PokedexDB" database
- Expand PokedexDB → Tables to see: Pokemon, Users, SaveFile, CollectedPokemon
- Right-click on "Pokemon" table → View Data to verify 15 Pokemon are loaded:
- Bulbasaur, Ivysaur, Venusaur (Grass/Poison)
- Charmander, Charmeleon, Charizard (Fire/Flying)
- Squirtle, Wartortle, Blastoise (Water)
- Caterpie, Metapod, Butterfree, Weedle, Kakuna, Beedrill (Bug types)
- Ensure SQL Server 2022 (or later) is installed and running
- Open SQL Server Management Studio and connect to your server
- Run the SQL script in the
team-docs/PokedexDatabase.sqlfile to create the database and tables - Update the connection string in
Pokedex/PokedexDB.csto match your SQL Server instance if different from LocalDB
-
-
Run the Application:
- Run the project by clicking the "Start" button in Visual Studio
- Expected Result: You should see a message "Database connection, complete!"
- If you see an error instead, refer to the troubleshooting section below
-
"Cannot connect to (localdb)\MSSQLLocalDB":
- Ensure LocalDB is installed and running (see Option A above)
- Try running
sqllocaldb info MSSQLLocalDBin Command Prompt to check status - If not running, try
sqllocaldb start MSSQLLocalDB
-
"Database 'PokedexDB' does not exist":
- The database script wasn't executed properly
- Re-run the complete
team-docs/PokedexDatabase.sqlscript - Ensure you execute the entire script, not just portions
-
"SELECT * FROM Pokemon" fails or returns empty:
- The Pokemon table wasn't populated with data
- Verify the INSERT statements in the SQL script were executed
- You should have 15 Pokemon records (Bulbasaur through Beedrill)
- Check if LocalDB is running: Open Command Prompt and run
sqllocaldb info - Verify database exists: In SQL Server Object Explorer, look for PokedexDB under (localdb)\MSSQLLocalDB
- Check Pokemon data: Query
SELECT COUNT(*) FROM Pokemonshould return 15 - Test connection: The application will show "Database connection, complete!" if successful
- Partial script execution: Make sure to run the complete PokedexDatabase.sql file
- Wrong database name: The database must be named exactly "PokedexDB" (case sensitive)
- Missing LocalDB: Install SQL Server Express LocalDB through Visual Studio Installer
- Adelisse Ferris
- Alex Fischer
- Kourtnie Moore
- Joeseph Ortiz
more information to be added later~~