You must Sign In to post a response.
  • Category: ASP.NET

    How to display date into textbox from database

    i have a dob textbox set textmode as date. i want to display the date into textbox from my table
  • #767306
    hi krishna,

    Please post ur Doubt Clearly, what u want?????????????????????????

  • #767307
    the dob is enters by selecting calender.then the value inserted into my table.but i can't display the value twice

  • #767311
    Hi,
    Use "yyyy-MM-dd" as follows:

    TextBox.Text = DatabaseValue.ToString("yyyy-MM-dd");

  • #767337
    Hi Krishna,

    Have you got any error, please post the error details so that we can help you better.

    --------------------------------------------------------------------------------
    Give respect to your work, Instead of trying to impress your boss.

    N@veen
    Blog : http://naveens-dotnet.blogspot.in/


  • Sign In to post your comments