Hi,
From my point of view, best to use Datatable as it is easier, best way of doing this is create a table named after your purchases table in your MSDE database. Then use DataAdapter to fill schema to your database table. That way you will have same data structure table as your table. Add data to your table one at a time from your text boxes, and once you complete the task, use your DataAdapter & CommandBuilder objects to update to your MSDE database.
Once updated then, you can clear all the data in your table, but not to dispose the table or clear it's schema. So you can re-enter data and start the cycle again.
Hope this help, if not give me a buzz..
Cheers
Kasie
|