sreekanth v

sreekanth v

  • NA
  • 51
  • 0

datetime fields and properties

Sep 6 2011 9:17 AM
DateTime _hiredate;
        public DateTime? hiredate
        {
            get
            {
                return _hiredate;
            }
            set
            {
                _hiredate = value;
            }
        }

Error    1    Cannot implicitly convert type 'System.DateTime?' to 'System.DateTime'. An explicit conversion exists (are you missing a cast?)    E:\aspnet\comp\Business Object\company.cs    64    29    Business Object

i am getting conversion problem please help me

thanq.

Answers (1)