Posted on: 1/18/2015 11:50:14 AM | Views : 549

Hi All,
I am working on a page with 3 dropdownlists and button to allow users to add their birthday:
<asp:DropDownList ID="ddlDay" runat="server"></asp:DropDownList> <asp:DropDownList ID="ddlMonth" runat="server"> </asp:DropDownList> <asp:DropDownList ID="ddlYear" runat="server"></asp:DropDownList> <asp:LinkButton ID="UpdateBdaybtn" runat="server" OnClick="UpdateBday" > And, in code behind:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not IsPostBack Then GetDaysListed(ddlDay) GetMonthsListed(ddlMonth) GetYearsListed(ddlYear) End If End Sub Public Sub GetDaysListed(DDDayList As DropDownList) For i As Integer = 1 To 31 Di ...

Go to the complete details ...