6
Answers

Error to read datetimepikers

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)