DataBinding: 'DatePickerControl.DatePicker' does not contain a property with the name 'Text'
<p>I tried using date/time, time, but it doesn't help. </p>

<p>Exception Details: System.Web.HttpException: DataBinding: 'DatePickerControl.DatePicker' does not contain a property with the name 'Text'.</p>

<pre><code>Source Error: 


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

<p>Here is the html code : </p>

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

&lt;/asp:SqlDataSource&gt;
</code></pre>
