Tried to follow most posts I saw, but... no dice. Text boxes not updating, but I can see the dataset has the changes saved to it

@klincecum @jwphillips

I started doing some more debugging cause I wasn’t getting what I wanted trying to do everything the server trace was giving me so I did an after adapter method and popped up the adapter methods that were being called… That brought me to search ResetList() on here which got me to a post by none other than @Chris_Conn Order Release Method - #2 by Chris_Conn

I added that before my oTrans.Update() call like this and it worked! My form now displays the changes.

//this.ResetList(ResetListMode.AddRow, this.salesOrderData.Tables[0].Rows[num2]);
ma.ResetList(Ice.Lib.Adapters.ResetListMode.AddRow,ma.MasterpackData.MasterPack[0]);

ma.Update();

this.oTrans.Refresh();
	
ma.Dispose();

Maybe @Chris_Conn can explain what it is that ResetList is doing and what the reset list mode is for, or anyone else on here other than me… cause I have no clue… but it works… and I hate saying that and not knowing.

2 Likes