Mfwamba Tshimanga

Mfwamba Tshimanga

  • NA
  • 155
  • 46.1k

Error to read datetimepikers

Feb 20 2015 8:02 AM
Hi!


I need to filter data from my reportviewer's page with dates (datetimepicker1 and datetimepicker2). I receive this error messages (But when I use a textbox to make filter for name or products its works. Not for dates): 


Then with my datetimepicker 

Error1The best overloaded method match for 'LunaManager.DataSet2TableAdapters.gestaoTableAdapter.Fill(LunaManager.DataSet2.gestaoDataTable, string, System.DateTime?, System.DateTime?)


Error2Argument 3: cannot convert from 'string' to 'System.DateTime?'


Error3Argument 4: cannot convert from 'string' to 'System.DateTime?'





Answers (6)