Skip to content
Loading
  • 0
    I tried the answer you posted but still there are no changes the time is still showing.
     
    private DateTime _dateValue;
    public DateTime StartDate
    {
    get
    {
    return _dateValue.Date;
    }
    set
    {
    _dateValue = value.Date;
    }
    }
    private DateTime dateValue;
    public DateTime EndDate
    {
    get
    {
    return dateValue.Date;
    }
    set
    {
    dateValue = value.Date;
    }
    }
     
    0
  • Jaimin Shethiya
    0
    Hello Leah,

    If you have stored only date then maybe not possible in date datatype passed in c# side.
    or you can store date as a string datatype.
    if you have used store procedure to insert a data then you can cast datetime as a date below is the example.
    SELECT CAST(GETDATE() AS DATE) [Date].
    0
  • Amit Gupta
    0
    In report, goto its properties (textbox) and navigate to Format tab and choose the date format you want. That's it
    0