Using SQL server and C# to register and store player info.

BANANAMAN

Resident Star Battle Expert.
Reaction score
150
How does one do it? I've heard they create a table in the SQL server then create windows form applications in visual studio 2010.
Can someone explain it to me in detail?
 

UndeadDragon

Super Moderator
Reaction score
448
Do you mean an externally hosted SQL database, like MySQL?
 

BANANAMAN

Resident Star Battle Expert.
Reaction score
150
what's the difference between an internal and externally hosted SQL database? This is for game data saving.

Edit:I'm taking up a subject on using My SQL and windows form applications to imput and save player data. Well that's what we have so far and I can't seem to get how the two are linked.
 

UndeadDragon

Super Moderator
Reaction score
448
The main differences are that if it's an externally hosted database, the connection tends to be different rather than if the database is just on the users system to store data.
 

Vestras

Retired
Reaction score
248
Basically, you allocate a database connection (usually a class for itself, depending on the database system you're trying to use - SQL Server is the one .NET uses, look up the System.Data(.Sql) namespace) with a connection string (which is usually a string that tells the system what database file to connect to), and then execute queries to it. Read up on the SQL syntax that SQL Server uses. It's pretty simple once you get the hang of it.
 

BANANAMAN

Resident Star Battle Expert.
Reaction score
150
Something like a simple program where I input some data (Name,Age,etc) i press a button and it brings up a table showing current data.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top