Trap rowchanged on DataTable

  • Thread starter Thread starter Mike Dole
  • Start date Start date
M

Mike Dole

I have a datagrid with a datatable as datasource, what I want to do is
add a timestamp to a row (in a DateTime field) each time a Quantity
field is filled.

I've tried it with the grdColStyle4.textbox.TextChanged addhandler but
since I can fill this field both by entering it manual or double
clicking it it's not working well...

I want to use something like this but the rowupdated event never gets
trapped if I use the datagrid:

AddHandler MyTempOrderTable.RowChanged, New
DataRowChangeEventHandler(AddressOf
DataTableRow_Changed)

Is there an alternative way to do this?

Regards,

Mike
 
Thanks Miha!

I didn't declare the datatable withevents...
You've made my day / week!

Regards,

Mike
 
Back
Top