views:

19

answers:

0

ok, I have an issue with my checkboxes, here's the code:

if me.BLD_RElectricalPermitBindingSource.Count = 0 then

  Dim NewRow as DataRow = dsBuildingPermits.BLD_RElectricalPermit.NewRow

  newRow("MasterPermitKey") = ugProjectNumbers.ActiveRow.Cells("MasterPermitKey").Value

  //After this line hits it should add the new row to the BLD_RElectricalPermit table, which it does and
  //the checkboxes should go from indeterminate to unchecked, which it does not.
   dsBuildingPermits.BLD_RElectricalPermit.rows.add(NewRow)

end if

My question is why are my checkboxes remaining as indeterminate, even after the row is added?