Posted on: 2/5/2014 9:35:01 AM | Views : 635

Hi
I am learning implementation of oop in c# at begginer level.
I have a scenario:
I have to register a Cricket Ground Details in the database. It will have three tables - Ground Details (GID, Title,Size, Address, CityID,StateID,ContactPerson etc.),
GroundFacilities( FacilityID,GID, FacilityType etc), GroundPhotographs ( PicUrl,GID etc).
So, i can register these details directly to db using ado.net in Ground.aspx.cs file.
According to oop, i should create a class named Ground, in which i'll have ground properties like  Title,size ,address etc. and then i should create object and so on.
My first question is ,if i use ado.net directly it will take me less time to write the code.
Then why should i make class and properties in it , which is a lengthy process.
My Second question is, what would be the step by step implementation of class concept in this scenario.
Can i use interfaces, abstract classes,d ...

Go to the complete details ...