Hello! How can I fill a DropDownList that stores me the last five previous dates beginning with, say, today?
06/28/2018 06/27/2018 06/25/2018
And when selecting a date I upload a GridView that is linked to a database; a table that contains a column with the date in the format 2018/06/26. I know I can do with a WHILE to match the dates and show them, but I have no idea how to load the dates in the DropDownList. Obviously these have to be updated depending on the current day.