473,387 Members | 1,578 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Database Connection with JavaScript

How to connect a MS Access with an HTML page using Javascript
and How to Convert an Excel Sheet to Ms Access database to use it in an HTML document using Javascript.
Feb 22 '07 #1
3 6346
acoder
16,027 Expert Mod 8TB
Welcome to The Scripts, Kishore.

That is not possible in Javascript unless you use Ajax, but that requires a server-side language such as ASP, PHP, Coldfusion, JSP, etc. The Javascript makes a request to the server using the XMLHttpRequest object. The server-side script connects to the database and returns a response. See this page which gives an example in both ASP and PHP.
Feb 22 '07 #2
How to connect a MS Access with an HTML page using Javascript
and How to Convert an Excel Sheet to Ms Access database to use it in an HTML document using Javascript.

please show a code that connect in ms access using javascript? by using only a html coding...
Mar 5 '07 #3
acoder
16,027 Expert Mod 8TB
please show a code that connect in ms access using javascript? by using only a html coding...
As I mentioned in my reply to the first post in this thread, this is not possible using Javascript alone. The best you can do is Ajax (but that obviously still requires some server-side scripting). And HTML - that's just simple markup, it cannot make any connections to databases or any sort of dynamic functionality.
Mar 5 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: lawrence | last post by:
Is there a way to tell PHP, "Spend 5 seconds trying to reach the database, if you can't reach it, then load the file from the cached flat file." I suspect the answer is no. I'm tempted to...
3
by: Martin B | last post by:
Hallo! I'm working with C# .NET 2.0, implementing Client/Server Applications which are connecting via Network to SQL-Server or Oracle Databases. To stay independent from the underlaying Database...
4
by: zfarooq01 | last post by:
Asp Javascript language paging larger database record sets i am firmiliar with asp javascript and not asp VB. i can display the results ok, but if i return 100 records from my table i would...
2
by: Arielle | last post by:
I've argued with this for quite some time and I've seen a number of other people on various other sites asking for this same thing with no answer so I figured that now that I have solved it I would...
5
by: Navodit | last post by:
Hi I want to write code in Javascript which pulls out entries from a database via a for loop. Essentially what I am trying to do is something like: //setting up database connection <% Set...
1
by: luvkling | last post by:
hi, i am new to asp.net. i currently doin a website. i created a add form in this form the user need to add in the record n when they press the submit button it will add the record into the access...
2
by: Abhi~Menon | last post by:
I've a situation here where i want to interact with the local Access Database from an HTML page. I've created a DSN for the Access. I'm wondering how the connection part has to made from Java Script....
6
by: shuttered | last post by:
Can anyone help me on this? I just need more information on all aspects of it. For example : how to add, delete, edit fields. Can i add new tables etc.. i know it is MS version of javascript so it...
1
anfetienne
by: anfetienne | last post by:
i take information from a database and then have the collected values entered into a form with hidden fields. <input type="hidden" name="returnURL" id="returnURL" value="<?php print...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.