each web online user connect with there own acces .mdb? how to do that

断了今生、忘了曾经 提交于 2020-01-06 11:45:15

问题


in my project, when a new user register online on my website, then my project create a directory on server with the user name "abc" and copy a myDB.mdb file in it.

this .mdb file contains predefined 2 tables.

now my question is :

1 is it possible to connect and use with Dataset.xsd in this task.

2 how each user read and write data with there own myDB.mdb file

3 how to make the connection string flexible. so it ll connect with each user myDB.mdb file.

I don't have any clue that how to complete it. i worked with dataset.xsd and vb asp.net but those were static dataset.xsd or predefined .xsd

JS


回答1:


Oh, please don't do this. You really, really, really need to avoid this approach at all possible costs.

I strongly suggest that you install the free SQL Server Express, or MySQL, or any other multi-user database and store your data in there instead.

Doing this will preserve your sanity both when creating the initial implementation and when you have to update a column or a table in all of the MDBs that have been created for your end users.



来源:https://stackoverflow.com/questions/9967856/each-web-online-user-connect-with-there-own-acces-mdb-how-to-do-that

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!