62,243
社区成员




<td>
<asp:TextBox ID="txtbirthday" runat="server" ReadOnly="True">
</asp:TextBox><asp:Button ID="btnage" runat="server" Text="..." OnClick="btnage_Click" />
</td>
<td> <asp:Calendar ID="birthday" runat="server" OnSelectionChanged="birthday_SelectionChanged">
</asp:Calendar>
</td>
protected void btnage_Click(object sender, EventArgs e)
{
birthday.Visible = true;
}
protected void birthday_SelectionChanged(object sender, EventArgs e)
{
txtbirthday.Text = birthday.SelectedDate.ToShortDateString();
birthday.Visible = false;
}