data table row state unchanged after i changed its values
-
hi my problem is the following: i take one data row (
BE.DSPedido.PedidoItemRow pedidoItemRow = dsPedido.PedidoItem[e.RowIndex];
) then i change some of its values (eg:pedidoItemRow.DtConferencia = DateTime.Now;
) but after, when i test for its status, i get `unchanged` (MessageBox.Show(pedidoItemRow.RowState.ToString());
) i haven`t done anything important between these statements (like a AcceptChanges() or something that would affect the row - except other assigments) the problem is that when i call a GetChanges() operation in my dataset i get a null DataTable and i can`t persist the modified values in the SQL Server (it`s mapped through a DataAdaptor update command) any hint? thanks in advance :] -
hi my problem is the following: i take one data row (
BE.DSPedido.PedidoItemRow pedidoItemRow = dsPedido.PedidoItem[e.RowIndex];
) then i change some of its values (eg:pedidoItemRow.DtConferencia = DateTime.Now;
) but after, when i test for its status, i get `unchanged` (MessageBox.Show(pedidoItemRow.RowState.ToString());
) i haven`t done anything important between these statements (like a AcceptChanges() or something that would affect the row - except other assigments) the problem is that when i call a GetChanges() operation in my dataset i get a null DataTable and i can`t persist the modified values in the SQL Server (it`s mapped through a DataAdaptor update command) any hint? thanks in advance :]