Class Student { public string ID {get;set;} [Required(ErrorMessage="Please enter the Name of Student ")] // I need to add paremeter id here with message public string Name {get;set;} }
"Please enter the Name of Student " + Mode.ID
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)