vb.net - Fill a few Datatables with Tableadapter at one time fails -
i try fill few datatables same amount of tableadapter @ 1 time of datatables stay empty.
codeexample:
dim integer = 1 aaatableadapter.fillbycontractid(contractdataset.aaa, i) bbbtableadapter.fillbycontractid(contractdataset.bbb, i) ccctableadapter.fillbycontractid(contractdataset.ccc, i) dddtableadapter.fillbycontractid(contractdataset.ddd, i) eeetableadapter.fillbycontractid(contractdataset.eee, i) ffftableadapter.fillbycontractid(contractdataset.fff, i) gggtableadapter.fillbycontractid(contractdataset.ggg, i)
example: datatables containing aaa, bbb, ccc , ddd filled rest of tables stay clear.
if click on button performs code above, datatables filled after 2 attempts!
i've allready used bindingsource.endedit method dosent worked out. problem occurs once. if datatables filled (after 2 attempts) , 'i' set @ runtime works fine.
hope can me. i'm not able find solution 'small' problem.
Comments
Post a Comment