Hi,
In My Project I have two tables one Category and another one is subcategory,
for example In Category table i have JOBS and in Subcategory Freelancers,IT JobsHealthcare - Medicin, and the structure of the tables is
my Category Table Category_id int Unchecked
Categoryname varchar(50) Checked
Status bit Checked
SubCategory Table subcategoryid int Unchecked
subcategoryname varchar(50) Checked
Category_id int Checked
Status bit Checked
now i am deleting the category it is deleting , if i deleting this category , should not be deleted and it must show some messg like u should not deleted the category
for this what should i give relationship between parent class and child class
Thanks in Advance
T.Madhuri