i have a dropdownlist in my asp.net+vb web. i want to display current date and 5 previous dates.(eg if today is 12 jan 2013 the dropdownlist should display 08 Jan 13 to 12 jan 13. my code is in vb
Well it is quite simple. You did not tell me the Id of DropDown so I gave it ddlDates. So that means you need to change the Id in code to that if your DropDown. Don't you?
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.