Jun 04, 2013, 7:01 AM
Ext.Net :SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM
when I leave empty DateField and get the value of this emty field via button click event, i get the error like this SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.
what I see while debugging ,it gets the value like this {01.01.0001 00:00:00}, what I wanna do is when It leave empty ,i get the Dbnull value or just null value thus I can insert to sqlserver this value.
what I see while debugging ,it gets the value like this {01.01.0001 00:00:00}, what I wanna do is when It leave empty ,i get the Dbnull value or just null value thus I can insert to sqlserver this value.
<ext:DateField ID="AlisTrh" runat="server" FieldLabel="Atrh" Type="Date" Format="dd-MM-yyyy" Flex="1">