the way you have posted your problem make it hard and confusing for others to response to you; whati understood from your post is that your porblem is very easy so i don't have intent to give you the full solution but i have some clue for you.

you should have basic of SQL language (select, insert, update, delete, joining tables) aslo you should have basic knowldge of ADO.Net, Disconnected dababase architecture, Data Binding and Data Controls.
you should know how to use some mandtaroy and optional classes base on your approach (Disconnected or direct access) which some of them are as following:


SqlConnection
SqlCommand
SqlDataReader

SqlCommand.Parameters (important for preventing SQL Injection)

SqlDataAdapter
DataSet
DataRelation (for implementing master-child realtionship if you don't want use SQL Join instead)


also some important Data Control are:


GridView
DetailsView
FormView


for your problem is suggest you that investigate how to use DataReader and GridView and apply them to your problm.

for sure you should have at least basic Knowledge of C#.

Touraj Ebrahimi [toraj_e] [at] [yahoo] [dot] [com]