DataGrid Real Time Change

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I make a change in the bound textbox automaticaly update the
assciated Datagrid when the user leaves the textbox?

I can accomplish this if I save the textbox change to database immediately
but, I'd rather save the change to the dataset until the user clicks on the
O'K button on the form

TB_Leave(..) {
dataSet.Tables[tableName].Rows[rowIndexNumber][columnName]= strgCellFill;
 
TB_Leave(..) {
dataSet.Tables[tableName].Rows[rowIndexNumber][columnName]= textBoxlFill;

// automatically updates datagrid but don't want to do this here
//savedSetDb();

// want to say something like this
DGrid.Update(dSet)
}
 
Back
Top