Database Validations RRS feed

  • Question


    I am working on the live project on the data access layer
    I have design database classess Which has get & set properties...
    & i have to create objects of that class,
    so I have to genrate errors without visual intraction like messege box etc. while assinining properties like set property of a class .
    I has to  send errors(without message box) to the user which going to handle my object,
    He must know that on which property error has been occure.
    for example, user going to assign value 11 digits for mobile field ,so in class I have to handle that problem and user which going to use my class object must be get information that there is an error in mobile number
    Friday, February 8, 2008 12:35 PM