Monday 15 February 2010

asp.net - I need to insert a date into a textbox where type = date -



asp.net - I need to insert a date into a textbox where type = date -

okay working on page in asp.net in vb , have textbox lets pick date little calendar thing need insert date in same textbox when button clicked. here's code:

<asp:textbox id="txtactiondate" type="date" runat="server"></asp:textbox>

and when button clicked.

protected sub btnone_click(sender object, e eventargs) handles btnone.click txtactiondate.text = "05261994" txtactiondate.text = "05/26/1994" txtactiondate.text = "05-26-1994" end sub

but each 1 of these nil textbox doesn't show different when button clicked.

asp.net vb.net date textbox

No comments:

Post a Comment