After all the fun yesterday...
Now I'm having a problem with binding a blank field.
For instance,
pbndTemp = New Binding("text", drCurrent, "fouls_home")
txtHomeFouls.DataBindings.Add(pbndTemp)
If "fouls_home" is blank, I get an error saying "Cannot get field because it is DBNULL". I tried changing the default value in the database to 0, but it didn't help.
Now I'm having a problem with binding a blank field.
For instance,
pbndTemp = New Binding("text", drCurrent, "fouls_home")
txtHomeFouls.DataBindings.Add(pbndTemp)
If "fouls_home" is blank, I get an error saying "Cannot get field because it is DBNULL". I tried changing the default value in the database to 0, but it didn't help.