How to create an Access database at runtime in C#?

前端 未结 5 526
旧时难觅i
旧时难觅i 2020-11-30 09:32

How can I create an Access Database at runtime in C#?

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-30 09:56

    Create a blank access database and store it in your resource files.

    Now whenever you want to use it, fetch that database from your resources and copy it to wherever you want, rename it to whatever you want and execute your database setup script to create default tables and load values in them.

提交回复
热议问题