J
Jon
As I understand it, right now the only way to create tables/databases on SQL
CE is through code. When I install my app to a new user, it will need to
create its database and insert any default data. I obviously must do this
in my apps code. One way I thought of to do this was to make a registry
setting and set it to 0 if the table creation code had not been run and 1 if
it had. On app startup, it would check this and if it were 0, it would
create the db/tables and insert the default data. Otherwise, it would
continue without running that portion of the code. Is this a good way to do
it? I'd like to know how some others are doing it? Or if I'm
misunderstanding the process of CF/SQL CE development altogether, can you
fill me in on the correct methodology?
Thanks!
CE is through code. When I install my app to a new user, it will need to
create its database and insert any default data. I obviously must do this
in my apps code. One way I thought of to do this was to make a registry
setting and set it to 0 if the table creation code had not been run and 1 if
it had. On app startup, it would check this and if it were 0, it would
create the db/tables and insert the default data. Otherwise, it would
continue without running that portion of the code. Is this a good way to do
it? I'd like to know how some others are doing it? Or if I'm
misunderstanding the process of CF/SQL CE development altogether, can you
fill me in on the correct methodology?
Thanks!