Date cannot be updated using SelectedDate

3 posts, 1 answers
  1. L
    L avatar
    298 posts
    Member since:
    Apr 2008

    Posted 13 Nov 2008 Link to this post

    hi

    It is strange that I cannot update the date in the DB when i use selectedDate property. No error. the data just didn't get updated in the DB.

          sqlcmdInsClassCode.Parameters.Add(New SqlParameter("@CLC_ClassStartDate", SqlDbType.DateTime)).Value = txtStartDate.SelectedDate

    But i change to request.form("txtStartDate") then it is able update the date in the DB. Why? Did i miss something? thanks
  2. Answer
    Plamen Peshev
    Admin
    Plamen Peshev avatar
    885 posts

    Posted 13 Nov 2008 Link to this post

    Hi Lui,


    Can you specify the steps to reproduce the erroneous behavior on this online demo of the product? I tried to do that but unfortunately to no avail. This can help us identify the source of the issue and provide a solution for it.

    Regards,
    Plamen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. L
    L avatar
    298 posts
    Member since:
    Apr 2008

    Posted 13 Nov 2008 Link to this post

    hi

    Sorry,  my mistake. I did not place a if not is postback in the page load event. Solved. Thanks
Back to Top