I have created a tableadapter with the data from the database.
the data in the database are :ReciptID: ReciptDate: ReciptTotal: the primary key is in reciptID
the date in database is mm/dd/yyyy
i created a query like this SELECT
ReciptID, ReciptDate, ReciptTotal
FROM Recipts
WHERE (ReciptDate = ?)
hot to get all data from Recipts Table by the selected date in the datetimepicker when the form loads in datagridview1.
by todays date i mean all data by selected date not only one row
or by presing a button1 for example.
the data in the database are :ReciptID: ReciptDate: ReciptTotal: the primary key is in reciptID
the date in database is mm/dd/yyyy
i created a query like this SELECT
ReciptID, ReciptDate, ReciptTotal
FROM Recipts
WHERE (ReciptDate = ?)
hot to get all data from Recipts Table by the selected date in the datetimepicker when the form loads in datagridview1.
by todays date i mean all data by selected date not only one row
or by presing a button1 for example.