Posted on: 12/22/2014 10:41:47 AM | Views : 615

i have the following code
public class Employee { public string Name; public string Nationalty; public DateTime DateOfBirth; public int? NationalNumber; } public void vSaveEmployee(Employee oEmployee) { // i need to check validity of object data and list it in a message box before save if(data is valid) { save(); } } i need to write a function to check the validity of data object before complete save, and list all errors in one message box.
any advise please?

Go to the complete details ...