protected override void HookSetDefaultValues(DataRow dataRow) { if (this.DefaultValues != null)I don't see where you set this.DefaultValues, so I'm guessing this.DefaultValues == null. Can you set a breakpoint on the if statement and make sure that .DefaultValues isn't an undefined value?