J
John zink
I have a datagrid that displays a few columns from a table.
I need to be able to update a process date on each row if
any of the displayed columns get updated. The process
date ("UPDT_DT") is not in the datagrid. I put an event
handler on the textboxes in the grid so I can capture when
a change occurs, but I can't seem to get the process date
column updated.
Here is the code I tried:
CType
(Me.BindingContextdgLists.DataSource, "UW_LISTS").Current,
DataRowView).Row.Item("UPDT_DT") = Date.Now
The line of code executes but when "UPDT_DT" is updated it
resets the row in the data grid.
Any ideas of how to accomplish this task ?
I need to be able to update a process date on each row if
any of the displayed columns get updated. The process
date ("UPDT_DT") is not in the datagrid. I put an event
handler on the textboxes in the grid so I can capture when
a change occurs, but I can't seem to get the process date
column updated.
Here is the code I tried:
CType
(Me.BindingContextdgLists.DataSource, "UW_LISTS").Current,
DataRowView).Row.Item("UPDT_DT") = Date.Now
The line of code executes but when "UPDT_DT" is updated it
resets the row in the data grid.
Any ideas of how to accomplish this task ?