jigneshdesai
New member
- Joined
- Jan 15, 2009
- Messages
- 2
- Programming Experience
- 3-5
I have a tipical BindingSource control on form.
There are several textbox controls bind to a field from BindingSource control.
Few of the fields are of type numeric.
If i do not enter anything into textboxs for numeric type fields, all is fine. it saves records with null values for those fields.
But lets say if i enter a numeric value and then decide to delete it, my cursor is forced to remain in the field, until i enter a numeric value (Zero).
Why is this behaviour?
Can;t it understands that if textbox is left blank it should assign "Null" for that column/field.
Is there any workaround for this behaviour...?
Regards
JIGNESH.
There are several textbox controls bind to a field from BindingSource control.
Few of the fields are of type numeric.
If i do not enter anything into textboxs for numeric type fields, all is fine. it saves records with null values for those fields.
But lets say if i enter a numeric value and then decide to delete it, my cursor is forced to remain in the field, until i enter a numeric value (Zero).
Why is this behaviour?
Can;t it understands that if textbox is left blank it should assign "Null" for that column/field.
Is there any workaround for this behaviour...?
Regards
JIGNESH.