I am creating a small website for a little basketball league my friends and I are starting where I can enter the wins and losses for a player and a grid will display all the data for that player.
I want the grid to display these fields:
First Name, Last Name, Wins, Losses, Total Games, Win %, 50 Games Played (small icon appears for all players with 50 games played), Most Wins (small icon appears for player with the most wins)
I wrote the code to add players into the database, and associate records with them for wins and losses. But I don't know how to or where to put the calculations for the grid. I am pretty new to .net and very new to database work.
I am using c# and SQL with Visual Studio 2010 and SQL Server Management Studio if that matters.