
hi!i got a "PROBLEM"
Actually i have a simple aspx form having three textboxes 1 for RollNo, 2nd for StudentFirstName ,& 3rd for StudentLastName...
When i test my application whether i crahes or not (i insert the same rollno twice in the textbox ) the application sends error..
"NOTE :I am using SQLserver2000 and the rollno is selected as primary key"....I want my application should first check the roll no in database and the tell the user that the rollno already exist...
THANX

ashfaq