J
John
Hi
I have a vb.net database with access backend. Every time I add a new field
in the db, I open a separate project, run the data adapter wizard on the
table, copy the code for all four commands (select, delete, insert, update)
and paste into the data layer class for the relevant table in the main
project. In the main project I then change the dbdate types to date types as
former give error. I then delete the table from dataset and manually drag it
again from the server explorer, so it gets the new field. I then set
defaults for all Boolean fields to false in the table in the dataset,
otherwise it gives error.
Am I doing something wrong or is the above the only way to do this?
Thanks
Regards
I have a vb.net database with access backend. Every time I add a new field
in the db, I open a separate project, run the data adapter wizard on the
table, copy the code for all four commands (select, delete, insert, update)
and paste into the data layer class for the relevant table in the main
project. In the main project I then change the dbdate types to date types as
former give error. I then delete the table from dataset and manually drag it
again from the server explorer, so it gets the new field. I then set
defaults for all Boolean fields to false in the table in the dataset,
otherwise it gives error.
Am I doing something wrong or is the above the only way to do this?
Thanks
Regards