very strange.
standard Gridview
Calling DateTime column with valid DateTime data from SQL ds. Update works fine when a textbox.
standard Gridview
Calling DateTime column with valid DateTime data from SQL ds. Update works fine when a textbox.
<
EditItemTemplate>
<telerik:RadDateTimePicker ID="RadDateTimePicker2" runat="server" AutoPostBackControl='<%# Eval("EducationDate") %>'
Culture="English (United States)">
<DateInput InvalidStyleDuration="100">
</DateInput>
</telerik:RadDateTimePicker>
</EditItemTemplate>
error returned =
Conversion from type 'Date' to type 'Integer' is not valid.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidCastException: Conversion from type 'Date' to type 'Integer' is not valid.
Source Error:
|