Easiest way if you plan on using C# would be to setup an ASP.Net site that queries and updates a SQL Server database. All of this can be done for free.

Best place to start would be downloading and installing MS Visual Studio Express and SQL Server Express. There is some setup to be done before you can actually start writing code.

After that I'd start learning how to use ASP.Net and SQL Server.