none
Date parameter in rdlc report using datetimepicker RRS feed

  • Question

  • Hi,

    I have a rdlc report in c# with only one parameter "StudentTime". I want to filter my data using datetimepicker in reportviewer.

     parms[0] = new ReportParameter("stdTime_toDate", dateTimePicker1.Value.ToString("yyyy-MM-dd"));

    Is this right way to do?

    And also my data stored in database using datetimepicker in student table.

    student_id    studentTime

    1                 2013-09-20 09:43:26.000

    Can anyone help me?

    thanks in advance

    • Moved by Barry Wang Monday, September 23, 2013 2:22 AM
    Friday, September 20, 2013 7:25 AM

All replies