I found out something weird during debugging. I am lost here of the .NET behavior. I add simple window form to VB.NET project and add 3 textbox controls. Add following code to LostFocus event:
Private Sub TextBox1_LostFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles...
I explicitly set the value to dbnull. It works fine with only one date bound control. When I have multiple, which ever is the first in the order came out correctly. But rest of them still have the old value. I add watch to both textbox text. If I remove both dates, as soon as I set first...
Hello,
I have a simple bound textbox control that bound to "Date" data type of a SQL table. I use BindingManager EndCurrentEdit to update the changes I made to the date. It works fine if I change from one date to different date, but if I remove a date and replace with nothing, I can't save...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.