Have a problem with asp... please advice

Discussion in 'ASP.NET / ASP.NET Core' started by vvsharma, Aug 16, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Is it a SQL exception.If yes,what is the datatype of the column PROB_DATE ?
    Also try using Calendar1.SelectedDate.ToString instead of Calendar1.SelectedDate.

    Vikram

    DiscountASP.NET
    www.DiscountASP.NET
     
  2. Hi All,


    I have a problem in taking and inserting the Date of a Calndar object in the database:

    Whenever I execute the following scripy I get "not a valid month"



    uatSupportSource4x.InsertCommand = "INSERT INTO SUPPORT(TESTER_NAME, ACTIVITY, PROBLEM, SOLUTION, RELATED_EXCEPTION, PROB_DATE) VALUES ('" + TextBox1.Text + "', '" + DropDownList1.SelectedItem.Value.ToString + "', '" + TextBox2.Text + "' , '" + TextBox3.Text + "', '" + TextBox4.Text + "', '" + Calendar1.SelectedDate + "')"


    Please assist,


    Mahdi
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page