I am having problem with one project. The project involves a simple db. Now user can either choose working locally or remotely with db. I have to decide where this db should be located. If i place db on server side how can user then work with it locally ? I don't see this part or otherway around. Also i have a class which has access methods and other methods usefully working with this db where should i place this class file. Should there be 2 copies of it one for server and one for client ?