M
Manuel Canas
Hi There,
I'm having this problem with a DateTimePicker and I just can't figure it
out.
I'm using binding on a form. I'm binding all the object on the graphical
properties, I have created a data adapter and dataset as well, all that has
been done with working ok.
New I call the AddNew() method everything goes well, I get new rows and
everything is good and fun. When I want to save this calling the UpDate on
the Data Adapter, I get a sqlexception saying that cannot insert a null
value on a column, which I've set to not to accept null values and that's
good cause it's trapping that one.
Now, it seems that on the AddNew my datetimepicker is being reset with null,
and I just don't can't find out why is doing this.
Any suggestions, advices, ideas??
Thanks very much.
Manuel
I'm having this problem with a DateTimePicker and I just can't figure it
out.
I'm using binding on a form. I'm binding all the object on the graphical
properties, I have created a data adapter and dataset as well, all that has
been done with working ok.
New I call the AddNew() method everything goes well, I get new rows and
everything is good and fun. When I want to save this calling the UpDate on
the Data Adapter, I get a sqlexception saying that cannot insert a null
value on a column, which I've set to not to accept null values and that's
good cause it's trapping that one.
Now, it seems that on the AddNew my datetimepicker is being reset with null,
and I just don't can't find out why is doing this.
Any suggestions, advices, ideas??
Thanks very much.
Manuel