I have a client side project that will be loading local HTML files, running as a local webservice to control and manage the client side application, as well as populating a local MDF database with transactional information. This project is written in C#. I would like the website to be able to access the tables in the mdf database so that information can be displayed on the local webservice that the client application will be running. I figured the best way to do this would be through Javascript Access. I know javascript is largely a front end language, but this would save having to use extra disk space for ASP or PHP. the MDF database will be one directory back from the webservice HTML files (i.e. ../somedatabase.mdf)
What is the most efficient way of accessing a local MDF database using Javascript? if not possible, what is the most space efficient way to access a local MDF database?