king_jeremy
Member
- Joined
- Oct 20, 2009
- Messages
- 13
- Programming Experience
- Beginner
Hi,
I have a problem with handling tablenewrow event. When I call bindingSource.addNew() method to add a new row to its bound dataset.datatable which is empty in the beginning the tablenewrow event is not fired. I kinda get the logic behind this probably the datatable is not initialized until it has some data in it but how am I supposed to call tablenewrow event when I call bindingSource.addNew() method with an empty dataset.datatable?
I have a problem with handling tablenewrow event. When I call bindingSource.addNew() method to add a new row to its bound dataset.datatable which is empty in the beginning the tablenewrow event is not fired. I kinda get the logic behind this probably the datatable is not initialized until it has some data in it but how am I supposed to call tablenewrow event when I call bindingSource.addNew() method with an empty dataset.datatable?