Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8102973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T23:23:13+00:00 2026-06-05T23:23:13+00:00

I tried using date/time, time, but it doesn’t help. Exception Details: System.Web.HttpException: DataBinding: ‘DatePickerControl.DatePicker’

  • 0

I tried using date/time, time, but it doesn’t help.

Exception Details: System.Web.HttpException: DataBinding: ‘DatePickerControl.DatePicker’ does not contain a property with the name ‘Text’.

Source Error: 


Line 31:         DataSource.InsertParameters.Add("UserId", UserGUID.ToString());
Line 32: 
Line 33:         DataSource.Insert();//here is the error
Line 34:         
Line 35:     }

Here is the html code :

<asp:SqlDataSource ID="InsertExtraInfo" runat="server" ConnectionString="<%$ ConnectionStrings:ASPNETDBConnectionString1 %>"
    InsertCommand="INSERT INTO [UserDetails] ([UserId], [CustName], [CustNum], [CustRole], [CustStatus], [PName], [PEmail], [PRole], [WedDate]) VALUES (@UserId, @CustName, @CustNum, @CustRole, @CustStatus, @PName, @PEmail, @PRole, @WedDate)"
    ProviderName="<%$ ConnectionStrings:ASPNETDBConnectionString1.ProviderName %>">
    <InsertParameters>
        <asp:ControlParameter Name="CustName" Type="String" ControlID="CustName" PropertyName="Text" />
        <asp:ControlParameter Name="CustNum" Type="String" ControlID="CustNum" PropertyName="Text" />
        <asp:ControlParameter Name="CustRole" Type="String" ControlID="CustRole" PropertyName="Text" />
        <asp:ControlParameter Name="CustStatus" Type="String" ControlID="CustStatus" PropertyName="Text" />
        <asp:ControlParameter Name="PName" Type="String" ControlID="PName" PropertyName="Text" />
        <asp:ControlParameter Name="PEmail" Type="String" ControlID="PEmail" PropertyName="Text" />
        <asp:ControlParameter Name="PRole" Type="String" ControlID="PRole" PropertyName="Text" />
        <asp:ControlParameter Name="WedDate" Type="String" ControlID="WedDate" PropertyName="Text"/>
    </InsertParameters>

</asp:SqlDataSource>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T23:23:16+00:00Added an answer on June 5, 2026 at 11:23 pm

    Set PropertyName="SelectedValue" and Type="DateTime"

    <asp:ControlParameter Name="WedDate" Type="DateTime" ControlID="WedDate" PropertyName="SelectedValue"/>
    

    EDIT:

    try

    <asp:ControlParameter Name="WedDate" Type="DateTime" ControlID="WedDate" PropertyName="SelectedDate"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have tried using date(m/d/Y, strtotime(04-05-2012)) but I will get 05/04/2012 or on some
I tried using Solr's Suggester component but it gives exception Unknown Search Component: spellcheck
I used date(Y-m-d H:i:s); to get current date time format but the result doesn't
I tried using $(date) in my bash shell script, however, I want the date
I tried using setOpaque(false); but it just makes the background of the JPanel white..
I tried using the boost deadline_timer in this simple test application, but had some
i am using mysql and and php , currently i have date and time
I'm using QueryPath and PHP. This finds the .eventdate okay, but doesn't return anything
tried using solutions posted here How to fast get Hardware-ID in C#? and here
I tried using the code below to set up a contextmenu which only displays

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.