Assigning NULL to Int and DateTime datatype

Posted by Tijut2k under C# category on | Points: 40 | Views : 2950
public class BrdMeeting
public int ProcessPk { get; set; } // cannot assign NULL to Processpk.

public int? MeetingPk{get;set;} // can assign NULL to MeetingPk.

public DateTime? MeetingDate{get;set;} // can assign NULL to MeetingDate.


Comments or Responses

Login to post response