• hi

    i am in team of ERP soft. for Construction domain , most of search is done by me in our team.

    i am having the same problem and still not able to solve it , the solution i found is

    private DateTime myTime;

    public object MyTime

    {

    get

    {

    if (myTime.Equals(DateTime.MaxValue))

    {

    return null;

    }

    else

    return myTime;

    }

    set

    {

    if (value == null)

    this.myTime = DateTime.MaxValue;

    else

    this.myTime = (DateTime)value;

    }

    }

    and use this method , this will give you date 1/1/0001

    you have to consider it as NULL.

    i think this will help you .

    if you find better solution then pls. send me on teligaurav@gmail.com