Filling a textbox field from C# variable

Don’t fill in the TextBox use the DataViews (this will trigger all the appropriate events for you)

var startDV= oTrans.Factory("Start");
startDV.dataView[startDV.Row].BeginEdit();
startDV.dataView[startDV.Row]["JobNum"]=jobNum;
startDV.dataView[startDV.Row].EndEdit();
3 Likes