[Update question ] Data Binding not for TextBox

  • Thread starter Thread starter Agnes
  • Start date Start date
A

Agnes

in my tables, there are 20 fields,
15fields are bind to the textbox. however, some fields won't shown in the
textbox , but I need to update it also.
For example, i will increment the version , userid, savedate behind the form
(not shown in the textbox)
How can I do that ?
Thanks
 
Use the BindingContext's position property to refer to the corresponding
datarow and set it programatically... if the .Position is 10 then reference
dataSet.Tables[0].Rows[10][ColumnIndex] = Whatever;
 
Back
Top