1
Answer

datetime fields and properties

Ask a question
sreekanth v

sreekanth v

13y
2.3k
1
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)