G
Guest
If I add rows to a table like:
_dtManualOrderItem.Rows.Add(mo)
How does the DataGridView get notified of this event? I don't see a Bind or
Rebind method. If I remove the binding and readd it:
dgvOrderItems.DataSource = Nothing
dgvOrderItems.DataSource = _dtManualOrderItem
Then the columns that I want displayed disappear or are reset. Anyway the
result is I see columns that I don't want to see. How would be the best way
to add a row to the table and have it update the DataGridView?
Thank you.
Kevin
_dtManualOrderItem.Rows.Add(mo)
How does the DataGridView get notified of this event? I don't see a Bind or
Rebind method. If I remove the binding and readd it:
dgvOrderItems.DataSource = Nothing
dgvOrderItems.DataSource = _dtManualOrderItem
Then the columns that I want displayed disappear or are reset. Anyway the
result is I see columns that I don't want to see. How would be the best way
to add a row to the table and have it update the DataGridView?
Thank you.
Kevin